Lines Matching defs:thr
482 thrd_create(thrd_t *thr, thrd_start_t func, void *arg)
486 if (!thr) return thrd_error;
497 *thr = (thrd_t)handle;
544 thrd_detach(thrd_t thr)
546 CloseHandle(thr);
567 thrd_join(thrd_t thr, int *res)
570 w = WaitForSingleObject(thr, INFINITE);
574 if (!GetExitCodeThread(thr, &code)) {
575 CloseHandle(thr);
580 CloseHandle(thr);