Searched refs:thd (Results 1 – 12 of 12) sorted by relevance
/external/jemalloc/test/src/ |
D | thd.c | 5 thd_create(thd_t *thd, void *(*proc)(void *), void *arg) in thd_create() argument 8 *thd = CreateThread(NULL, 0, routine, arg, 0, NULL); in thd_create() 9 if (*thd == NULL) in thd_create() 14 thd_join(thd_t thd, void **ret) in thd_join() argument 17 if (WaitForSingleObject(thd, INFINITE) == WAIT_OBJECT_0 && ret) { in thd_join() 19 GetExitCodeThread(thd, (LPDWORD) &exit_code); in thd_join() 26 thd_create(thd_t *thd, void *(*proc)(void *), void *arg) in thd_create() argument 29 if (pthread_create(thd, NULL, proc, arg) != 0) in thd_create() 34 thd_join(thd_t thd, void **ret) in thd_join() argument 37 pthread_join(thd, ret); in thd_join()
|
/external/strace/test/ |
D | many_looping_threads.c | 33 pthread_t *thd; in main() local 39 thd = malloc(num_threads * sizeof(thd[0])); in main() 43 pthread_create(&thd[i], NULL, sub_thd, NULL); in main()
|
/external/jemalloc/test/unit/ |
D | tsd.c | 88 thd_t thd; in TEST_BEGIN() local 91 thd_create(&thd, thd_start, (void *)THREAD_DATA); in TEST_BEGIN() 92 thd_join(thd, NULL); in TEST_BEGIN()
|
D | stats.c | 136 thd_t thd; in no_lazy_lock() local 138 thd_create(&thd, thd_start, NULL); in no_lazy_lock() 139 thd_join(thd, NULL); in no_lazy_lock()
|
/external/jemalloc/test/integration/ |
D | thread_tcache_enabled.c | 95 thd_t thd; in TEST_BEGIN() local 97 thd_create(&thd, thd_start, NULL); in TEST_BEGIN() 98 thd_join(thd, NULL); in TEST_BEGIN()
|
D | allocated.c | 107 thd_t thd; in TEST_BEGIN() local 109 thd_create(&thd, thd_start, NULL); in TEST_BEGIN() 110 thd_join(thd, NULL); in TEST_BEGIN()
|
/external/jemalloc/test/include/test/ |
D | thd.h | 8 void thd_create(thd_t *thd, void *(*proc)(void *), void *arg); 9 void thd_join(thd_t thd, void **ret);
|
D | jemalloc_test.h.in | 149 #include "test/thd.h"
|
/external/curl/tests/server/ |
D | sockfilt.c | 687 DWORD nfd = 0, thd = 0, wsa = 0; in select_ws() local 749 data[thd].thread = handle; in select_ws() 750 thd++; in select_ws() 774 data[thd].thread = handle; in select_ws() 775 thd++; in select_ws() 864 for(idx = 0; idx < thd; idx++) { in select_ws()
|
/external/jemalloc/ |
D | Android.mk | 168 test/src/thd.c \
|
D | Android.bp | 162 "test/src/thd.c",
|
D | Makefile.in | 135 $(srcroot)test/src/thd.c $(srcroot)test/src/timer.c
|