Lines Matching defs:thr
351 thrd_create(thrd_t *thr, thrd_start_t func, void *arg)
355 assert(thr != NULL);
366 *thr = (thrd_t)handle;
413 thrd_detach(thrd_t thr)
415 CloseHandle(thr);
436 thrd_join(thrd_t thr, int *res)
439 w = WaitForSingleObject(thr, INFINITE);
443 if (!GetExitCodeThread(thr, &code)) {
444 CloseHandle(thr);
449 CloseHandle(thr);