Home
last modified time | relevance | path

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

/external/jemalloc/test/src/
Dthd.c5 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/jemalloc/test/unit/
Dtsd.c52 thd_t thd; in TEST_BEGIN() local
55 thd_create(&thd, thd_start, (void *)THREAD_DATA); in TEST_BEGIN()
56 thd_join(thd, NULL); in TEST_BEGIN()
Dstats.c155 thd_t thd; in no_lazy_lock() local
157 thd_create(&thd, thd_start, NULL); in no_lazy_lock()
158 thd_join(thd, NULL); in no_lazy_lock()
/external/jemalloc/test/include/test/
Dthd.h8 void thd_create(thd_t *thd, void *(*proc)(void *), void *arg);
9 void thd_join(thd_t thd, void **ret);
Djemalloc_test.h.in139 #include "test/thd.h"
/external/jemalloc/test/integration/
Dthread_tcache_enabled.c95 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()
Dallocated.c107 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/
DAndroid.mk124 test/src/thd.c \
190 test/src/thd.c \
DMakefile.in111 $(srcroot)test/src/thd.c