Home | History | Annotate | Download | only in src

Lines Matching refs:thd

5 thd_create(thd_t *thd, void *(*proc)(void *), void *arg)
8 *thd = CreateThread(NULL, 0, routine, arg, 0, NULL);
9 if (*thd == NULL)
14 thd_join(thd_t thd, void **ret)
17 if (WaitForSingleObject(thd, INFINITE) == WAIT_OBJECT_0 && ret) {
19 GetExitCodeThread(thd, (LPDWORD) &exit_code);
26 thd_create(thd_t *thd, void *(*proc)(void *), void *arg)
29 if (pthread_create(thd, NULL, proc, arg) != 0)
34 thd_join(thd_t thd, void **ret)
37 pthread_join(thd, ret);