Searched refs:thd (Results 1 - 9 of 9) sorted by relevance

/external/jemalloc/test/src/
H A Dthd.c5 thd_create(thd_t *thd, void *(*proc)(void *), void *arg) argument
8 *thd = CreateThread(NULL, 0, routine, arg, 0, NULL);
9 if (*thd == NULL)
14 thd_join(thd_t thd, void **ret) argument
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) argument
29 if (pthread_create(thd, NULL, proc, arg) != 0)
34 thd_join(thd_t thd, void **ret) argument
37 pthread_join(thd, re
[all...]
/external/jemalloc/test/include/test/
H A Dthd.h8 void thd_create(thd_t *thd, void *(*proc)(void *), void *arg);
9 void thd_join(thd_t thd, void **ret);
/external/strace/test/
H A Dmany_looping_threads.c33 pthread_t *thd; local
39 thd = malloc(num_threads * sizeof(thd[0]));
43 pthread_create(&thd[i], NULL, sub_thd, NULL);
/external/jemalloc/test/unit/
H A Dtsd.c88 thd_t thd; local
91 thd_create(&thd, thd_start, (void *)THREAD_DATA);
92 thd_join(thd, NULL);
H A Dstats.c136 thd_t thd; local
138 thd_create(&thd, thd_start, NULL);
139 thd_join(thd, NULL);
/external/jemalloc/test/integration/
H A Dallocated.c107 thd_t thd; local
109 thd_create(&thd, thd_start, NULL);
110 thd_join(thd, NULL);
H A Dthread_tcache_enabled.c95 thd_t thd; local
97 thd_create(&thd, thd_start, NULL);
98 thd_join(thd, NULL);
/external/curl/tests/server/
H A Dsockfilt.c683 HANDLE thread; /* the internal threads handle (indexed by thd) */
697 DWORD nfd = 0, thd = 0, wsa = 0; local
759 data[thd].thread = handle;
760 thd++;
784 data[thd].thread = handle;
785 thd++;
885 for(idx = 0; idx < thd; idx++) {
/external/jemalloc/
H A DAndroid.mk172 test/src/thd.c \

Completed in 340 milliseconds