Searched refs:thd (Results 1 - 9 of 9) sorted by relevance
/external/jemalloc/test/src/ |
H A D | thd.c | 5 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 D | thd.h | 8 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 D | many_looping_threads.c | 33 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 D | tsd.c | 88 thd_t thd; local 91 thd_create(&thd, thd_start, (void *)THREAD_DATA); 92 thd_join(thd, NULL);
|
H A D | stats.c | 136 thd_t thd; local 138 thd_create(&thd, thd_start, NULL); 139 thd_join(thd, NULL);
|
/external/jemalloc/test/integration/ |
H A D | allocated.c | 107 thd_t thd; local 109 thd_create(&thd, thd_start, NULL); 110 thd_join(thd, NULL);
|
H A D | thread_tcache_enabled.c | 95 thd_t thd; local 97 thd_create(&thd, thd_start, NULL); 98 thd_join(thd, NULL);
|
/external/curl/tests/server/ |
H A D | sockfilt.c | 683 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 D | Android.mk | 172 test/src/thd.c \
|
Completed in 340 milliseconds