Home
last modified time | relevance | path

Searched refs:thrd (Results 1 – 4 of 4) sorted by relevance

/third_party/ltp/testcases/realtime/stress/pi-tests/
Dtestpi-3.c249 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->attr), &schedp) != 0) { in startThread()
[all …]
/third_party/mesa3d/src/util/
Du_thread.h107 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/
Dtest_quiesce.c190 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/
D_testembed.c279 unsigned long thrd = PyThread_start_new_thread(bpo20891_thread, &lock); in test_bpo20891() local
280 if (thrd == PYTHREAD_INVALID_THREAD_ID) { in test_bpo20891()