Home | History | Annotate | Download | only in src

Lines Matching refs:thd

5 thd_create(thd_t *thd, void *(*proc)(void *), void *arg) {
7 *thd = CreateThread(NULL, 0, routine, arg, 0, NULL);
8 if (*thd == NULL) {
14 thd_join(thd_t thd, void **ret) {
15 if (WaitForSingleObject(thd, INFINITE) == WAIT_OBJECT_0 && ret) {
17 GetExitCodeThread(thd, (LPDWORD) &exit_code);
24 thd_create(thd_t *thd, void *(*proc)(void *), void *arg) {
25 if (pthread_create(thd, NULL, proc, arg) != 0) {
31 thd_join(thd_t thd, void **ret) {
32 pthread_join(thd, ret);