Home | History | Annotate | Download | only in src

Lines Matching defs:thread

432 // Returns the accumulated user time for thread.
437 // Get the amount of time that the thread has executed in user mode.
1309 // Win32 thread support.
1311 // Definition of invalid thread handle and id.
1314 // Entry point for threads. The supplied argument is a pointer to the thread
1315 // object. The entry function dispatches to the run method in the thread
1319 Thread* thread = reinterpret_cast<Thread*>(arg);
1320 thread->NotifyStartedAndRun();
1325 class Thread::PlatformData : public Malloced {
1327 explicit PlatformData(HANDLE thread) : thread_(thread) {}
1333 // Initialize a Win32 thread object. The thread has an invalid thread
1336 Thread::Thread(const Options& options)
1344 void Thread::set_name(const char* name) {
1350 // Close our own handle for the thread.
1351 Thread::~Thread() {
1357 // Create a new thread. It is important to use _beginthreadex() instead of
1359 // initialize thread specific structures in the C runtime library.
1360 void Thread::Start() {
1371 // Wait for thread to terminate.
1372 void Thread::Join() {
1379 Thread::LocalStorageKey Thread::CreateThreadLocalKey() {
1386 void Thread::DeleteThreadLocalKey(LocalStorageKey key) {
1393 void* Thread::GetThreadLocal(LocalStorageKey key) {
1398 void Thread::SetThreadLocal(LocalStorageKey key, void* value) {
1406 void Thread::YieldCPU() {