Lines Matching defs:thread
247 // Static mutexes are leaked intentionally. It is not thread-safe to try
268 // caller's responsibility to ensure that the current thread holds the
274 // Does nothing if the current thread holds the mutex. Otherwise, crashes
279 << "The current thread is not holding the mutex @" << this;
306 // Possibly yields the rest of the thread's time slice to other
387 << "Failed to join the thread with error " << ::GetLastError() << ".";
390 // Maps a thread to a set of ThreadIdToThreadLocals that have values
391 // instantiated on that thread and notifies them when the thread exits. A
396 // Registers thread_local_instance as having value on the current thread.
397 // Returns a value that can be used to identify the thread from other threads.
481 // In a particular thread, maps a ThreadLocal object to its value.
484 // Stores all ThreadIdToThreadLocals having values in a thread, indexed by
485 // thread's ID.
488 // Holds the thread id and thread handle that we pass from
495 HANDLE thread = ::OpenThread(SYNCHRONIZE | THREAD_QUERY_INFORMATION,
498 GTEST_CHECK_(thread != NULL);
499 // We need to to pass a valid thread ID pointer into CreateThread for it
506 reinterpret_cast<LPVOID>(new ThreadIdAndHandle(thread_id, thread)),
510 // Give the watcher thread the same priority as ours to avoid being
518 // Monitors exit from a given thread and notifies those
519 // ThreadIdToThreadLocals about thread termination.
531 // Returns map of thread local instances.