Lines Matching defs:Thread
426 // Returns the accumulated user time for thread.
431 // Get the amount of time that the thread has executed in user mode.
1316 // Win32 thread support.
1318 // Definition of invalid thread handle and id.
1321 // Entry point for threads. The supplied argument is a pointer to the thread
1322 // object. The entry function dispatches to the run method in the thread
1326 Thread* thread = reinterpret_cast<Thread*>(arg);
1327 thread->NotifyStartedAndRun();
1332 class Thread::PlatformData {
1334 explicit PlatformData(HANDLE thread) : thread_(thread) {}
1340 // Initialize a Win32 thread object. The thread has an invalid thread
1343 Thread::Thread(const Options& options)
1351 void Thread::set_name(const char* name) {
1357 // Close our own handle for the thread.
1358 Thread::~Thread() {
1364 // Create a new thread. It is important to use _beginthreadex() instead of
1366 // initialize thread specific structures in the C runtime library.
1367 void Thread::Start() {
1378 // Wait for thread to terminate.
1379 void Thread::Join() {
1386 Thread::LocalStorageKey Thread::CreateThreadLocalKey() {
1393 void Thread::DeleteThreadLocalKey(LocalStorageKey key) {
1400 void* Thread::GetThreadLocal(LocalStorageKey key) {
1405 void Thread::SetThreadLocal(LocalStorageKey key, void* value) {