Searched refs:this_thread (Results 1 – 9 of 9) sorted by relevance
78 SDL_threadID this_thread; in SDL_LockMutex()84 this_thread = SDL_ThreadID(); in SDL_LockMutex()85 if (mutex->owner == this_thread) { in SDL_LockMutex()93 mutex->owner = this_thread; in SDL_LockMutex()109 SDL_threadID this_thread; in SDL_TryLockMutex()115 this_thread = SDL_ThreadID(); in SDL_TryLockMutex()116 if (mutex->owner == this_thread) { in SDL_TryLockMutex()125 mutex->owner = this_thread; in SDL_TryLockMutex()
84 pthread_t this_thread; in SDL_LockMutex() local92 this_thread = pthread_self(); in SDL_LockMutex()93 if (mutex->owner == this_thread) { in SDL_LockMutex()101 mutex->owner = this_thread; in SDL_LockMutex()121 pthread_t this_thread; in SDL_TryLockMutex() local130 this_thread = pthread_self(); in SDL_TryLockMutex()131 if (mutex->owner == this_thread) { in SDL_TryLockMutex()140 mutex->owner = this_thread; in SDL_TryLockMutex()
80 SDL_threadID this_thread; in SDL_mutexP()86 this_thread = SDL_ThreadID(); in SDL_mutexP()87 if (mutex->owner == this_thread) { in SDL_mutexP()95 mutex->owner = this_thread; in SDL_mutexP()
93 std::this_thread::sleep_for(std::chrono::milliseconds(1000)); in TEST()95 std::this_thread::sleep_for(std::chrono::milliseconds(1000)); in TEST()142 std::this_thread::sleep_for(std::chrono::milliseconds(1000)); in TEST()149 std::this_thread::sleep_for(std::chrono::milliseconds(1000)); in TEST()
65 std::this_thread::sleep_for(std::chrono::milliseconds(1)); in ThreadFunc()
33 std::this_thread::sleep_for(std::chrono::seconds(1)); in TEST()43 std::this_thread::sleep_for(std::chrono::seconds(1)); in TEST()
77 std::this_thread::sleep_for(delay); in WaitTest()
53 detach(std::this_thread::get_id()); in execute()
61 ss << "[" << std::this_thread::get_id() << "]"; in LogPrefix()
Completed in 11 milliseconds