Searched refs:ts (Results 1 – 4 of 4) sorted by relevance
434 auto& ts = mThreadState; in destroy() local436 if (!ts.lockedArenas[idx]) { in destroy()475 auto& ts = mThreadState; in acquire() local478 if (!ts.lockedArenas[idx]) { in acquire()480 ts.lockedArenas[idx] = true; in acquire()481 ts.arenaIdxStack[ts.level++] = int(idx); in acquire()496 auto& ts = mThreadState; in release() local497 CHECK_FAST(ts.level > 0); in release()498 auto idx = ts.arenaIdxStack[--ts.level]; in release()499 CHECK_FAST(ts.lockedArenas[idx]); in release()[all …]
205 struct timespec ts = {0, i * 1000 * 1000}; in launch() local206 nanosleep(&ts, NULL); in launch()
937 struct timespec ts; in wait_stop_thread() local938 if( clock_gettime( CLOCK_REALTIME, &ts )==0 ) { in wait_stop_thread()939 ts.tv_sec++; in wait_stop_thread()940 if( sem_timedwait( my_stop_sem, &ts )==0 ) { in wait_stop_thread()
1701 DOCTEST_INTERFACE int setTestSuite(const TestSuite& ts);4562 int setTestSuite(const TestSuite& ts) {4563 doctest_detail_test_suite_ns::getCurrentTestSuite() = ts;