Searched refs:this_thread (Results 1 – 4 of 4) sorted by relevance
104 atomic_t this_thread; in PyThread_start_new_thread() local108 this_thread = atomic_add(&thread_count, 1); in PyThread_start_new_thread()109 PyOS_snprintf(name, sizeof(name), "python thread (%d)", this_thread); in PyThread_start_new_thread()
120 int32 this_thread; in PyThread_start_new_thread() local125 this_thread = atomic_add( &thread_count, 1 ); in PyThread_start_new_thread()127 "python thread (%d)", this_thread ); in PyThread_start_new_thread()
89 if (std::this_thread::get_id() != thread_.get_id()) { in stopThread()
164 std::this_thread::sleep_for(kLockDelay); in Initialize()