Lines Matching refs:thr
311 thrd_create(thrd_t *thr, thrd_start_t func, void *arg)
315 assert(thr != NULL);
327 *thr = (thrd_t)handle;
374 thrd_detach(thrd_t thr)
376 CloseHandle(thr);
398 thrd_join(thrd_t thr, int *res)
401 w = WaitForSingleObject(thr, INFINITE);
405 if (!GetExitCodeThread(thr, &code)) {
406 CloseHandle(thr);
411 CloseHandle(thr);