Home
last modified time | relevance | path

Searched refs:thid (Results 1 – 6 of 6) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/src/main/psp/
DSDL_psp_main.c46 int thid = 0; in sdl_psp_setup_callbacks() local
47 thid = sceKernelCreateThread("update_thread", in sdl_psp_setup_callbacks()
49 if(thid >= 0) in sdl_psp_setup_callbacks()
50 sceKernelStartThread(thid, 0, 0); in sdl_psp_setup_callbacks()
51 return thid; in sdl_psp_setup_callbacks()
/third_party/ltp/testcases/kernel/mem/mtest06/
Dshmat1.c397 pthread_t thid[1000]; /* pids of process that will map/write/unmap */ in main() local
468 if (pthread_create(&thid[0], NULL, shmat_shmdt, chld_args)) { in main()
474 thid[0]); in main()
478 if (pthread_create(&thid[1], NULL, write_to_mem, chld_args)) { in main()
484 thid[1]); in main()
488 if (pthread_create(&thid[2], NULL, read_from_mem, chld_args)) { in main()
494 thid[2]); in main()
500 if (pthread_join(thid[thrd_ndx], &status)) { in main()
507 thid[thrd_ndx], (long)status); in main()
Dmmap1.c224 pthread_t thid[2]; in run() local
234 SAFE_PTHREAD_CREATE(&thid[0], NULL, map_write_unmap, &fd); in run()
235 SAFE_PTHREAD_CREATE(&thid[1], NULL, read_mem, &fd); in run()
238 SAFE_PTHREAD_JOIN(thid[0], NULL); in run()
239 SAFE_PTHREAD_JOIN(thid[1], NULL); in run()
/third_party/flutter/skia/third_party/externals/sdl/src/audio/psp/
DSDL_pspaudio.c137 SceUID thid; in PSPAUDIO_ThreadInit() local
139 thid = sceKernelGetThreadId(); in PSPAUDIO_ThreadInit()
141 if (sceKernelReferThreadStatus(thid, &status) == 0) { in PSPAUDIO_ThreadInit()
142 sceKernelChangeThreadPriority(thid, status.currentPriority - 1); in PSPAUDIO_ThreadInit()
/third_party/ltp/testcases/kernel/sched/tool/
Dtrace_sched.c303 pthread_t thid[PIDS]; /* pids of process or threads spawned */ in main() local
392 if (pthread_create(&thid[thrd_ndx], NULL, thread_func, in main()
418 if (pthread_join(thid[thrd_ndx], (void **)&status)) { in main()
/third_party/ltp/testcases/network/lib6/
Dasapi_01.c347 pthread_t thid; in isocketpair() local
362 if (pthread_create(&thid, 0, ilistener, 0) < 0) in isocketpair()
371 pthread_join(thid, NULL); in isocketpair()