Searched refs:thrd (Results 1 - 5 of 5) sorted by relevance
/third_party/ltp/testcases/realtime/stress/pi-tests/ |
H A D | testpi-3.c | 249 int startThread(Thread * thrd) in startThread() argument 255 printf("Start thread priority %d\n", thrd->priority); in startThread() 256 if (pthread_attr_init(&(thrd->attr)) != 0) { in startThread() 260 thrd->flags = 0; in startThread() 262 schedp.sched_priority = thrd->priority; in startThread() 263 policy = thrd->policy; in startThread() 265 if (pthread_attr_setschedpolicy(&(thrd->attr), policy) != 0) { in startThread() 268 if (pthread_attr_getschedpolicy(&(thrd->attr), &policy) != 0) { in startThread() 273 if (pthread_attr_setschedparam(&(thrd->attr), &schedp) != 0) { in startThread() 276 if (pthread_attr_getschedparam(&(thrd in startThread() [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/ |
H A D | thread_thrd_test.cpp | 30 thrd_t thrd; in HWTEST_F() local 32 EXPECT_EQ(thrd_success, thrd_create(&thrd, ReturnArg, reinterpret_cast<void*>(1))); in HWTEST_F() 33 EXPECT_EQ(thrd_success, thrd_join(thrd, &realResult)); in HWTEST_F() 45 thrd_t thrd; in HWTEST_F() local 46 EXPECT_EQ(thrd_success, thrd_create(&thrd, ReturnArg, reinterpret_cast<void*>(1))); in HWTEST_F() 47 EXPECT_EQ(thrd_success, thrd_join(thrd, nullptr)); in HWTEST_F() 96 * @tc.desc: Call thrd in the main thread_ When using the exit function,
|
/third_party/mesa3d/src/util/ |
H A D | u_thread.h | 107 static inline int u_thread_create(thrd_t *thrd, int (*routine)(void *), void *param) in u_thread_create() argument 122 ret = thrd_create(thrd, routine, param); in u_thread_create() 125 ret = thrd_create(thrd, routine, param); in u_thread_create()
|
/third_party/skia/third_party/externals/microhttpd/src/testcurl/ |
H A D | test_quiesce.c | 190 pthread_t thrd; in testGet() local 232 if (0 != pthread_create(&thrd, NULL, &ServeOneRequest, (void*)(intptr_t) fd)) in testGet() 251 if (0 != pthread_join(thrd, (void**)&thrdRet)) in testGet()
|
/third_party/python/Programs/ |
H A D | _testembed.c | 380 unsigned long thrd = PyThread_start_new_thread(bpo20891_thread, &lock); in test_bpo20891() local 381 if (thrd == PYTHREAD_INVALID_THREAD_ID) { in test_bpo20891()
|
Completed in 5 milliseconds