Lines Matching refs:thread
314 // Static mutexes are leaked intentionally. It is not thread-safe to try
332 // caller's responsibility to ensure that the current thread holds the
338 // Does nothing if the current thread holds the mutex. Otherwise, crashes
343 << "The current thread is not holding the mutex @" << this;
409 // Possibly yields the rest of the thread's time slice to other
485 << "Failed to join the thread with error " << ::GetLastError() << ".";
488 // Maps a thread to a set of ThreadIdToThreadLocals that have values
489 // instantiated on that thread and notifies them when the thread exits. A
494 // Registers thread_local_instance as having value on the current thread.
495 // Returns a value that can be used to identify the thread from other threads.
582 // In a particular thread, maps a ThreadLocal object to its value.
586 // Stores all ThreadIdToThreadLocals having values in a thread, indexed by
587 // thread's ID.
590 // Holds the thread id and thread handle that we pass from
597 HANDLE thread =
599 GTEST_CHECK_(thread != nullptr);
600 // We need to pass a valid thread ID pointer into CreateThread for it
607 reinterpret_cast<LPVOID>(new ThreadIdAndHandle(thread_id, thread)),
611 // Give the watcher thread the same priority as ours to avoid being
619 // Monitors exit from a given thread and notifies those
620 // ThreadIdToThreadLocals about thread termination.
631 // Returns map of thread local instances.