Searched refs:thd (Results 1 – 8 of 8) sorted by relevance
| /third_party/ulib/jemalloc/test/src/ |
| A 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 16 if (WaitForSingleObject(thd, INFINITE) == WAIT_OBJECT_0 && ret) { in thd_join() 18 GetExitCodeThread(thd, (LPDWORD) &exit_code); in thd_join() 25 thd_create(thd_t *thd, void *(*proc)(void *), void *arg) in thd_create() argument 27 if (pthread_create(thd, NULL, proc, arg) != 0) in thd_create() 32 thd_join(thd_t thd, void **ret) in thd_join() argument 34 pthread_join(thd, ret); in thd_join()
|
| /third_party/ulib/jemalloc/test/include/test/ |
| 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);
|
| A D | jemalloc_test.h.in | 125 #include "test/thd.h"
|
| /third_party/ulib/jemalloc/test/unit/ |
| A D | tsd.c | 87 thd_t thd; in TEST_BEGIN() local 90 thd_create(&thd, thd_start, (void *)THREAD_DATA); in TEST_BEGIN() 91 thd_join(thd, NULL); in TEST_BEGIN()
|
| A D | stats.c | 129 thd_t thd; in no_lazy_lock() local 131 thd_create(&thd, thd_start, NULL); in no_lazy_lock() 132 thd_join(thd, NULL); in no_lazy_lock()
|
| /third_party/ulib/jemalloc/test/integration/ |
| A 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()
|
| A 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()
|
| /third_party/ulib/jemalloc/ |
| A D | Makefile.in | 147 $(srcroot)test/src/thd.c $(srcroot)test/src/timer.c
|
Completed in 9 milliseconds