Searched refs:thd (Results 1 – 8 of 8) sorted by relevance
| /f-stack/app/redis-5.0.5/deps/jemalloc/test/src/ |
| H A D | thd.c | 5 thd_create(thd_t *thd, void *(*proc)(void *), void *arg) { in thd_create() argument 7 *thd = CreateThread(NULL, 0, routine, arg, 0, NULL); in thd_create() 8 if (*thd == NULL) { in thd_create() 14 thd_join(thd_t thd, void **ret) { in thd_join() argument 15 if (WaitForSingleObject(thd, INFINITE) == WAIT_OBJECT_0 && ret) { in thd_join() 17 GetExitCodeThread(thd, (LPDWORD) &exit_code); in thd_join() 24 thd_create(thd_t *thd, void *(*proc)(void *), void *arg) { in thd_create() argument 25 if (pthread_create(thd, NULL, proc, arg) != 0) { in thd_create() 31 thd_join(thd_t thd, void **ret) { in thd_join() argument 32 pthread_join(thd, ret); in thd_join()
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/test/unit/ |
| H A D | tsd.c | 73 thd_t thd; in TEST_BEGIN() local 76 thd_create(&thd, thd_start, (void *)MALLOC_TSD_TEST_DATA_INIT); in TEST_BEGIN() 77 thd_join(thd, NULL); in TEST_BEGIN() 121 thd_t thd; in TEST_BEGIN() local 122 thd_create(&thd, thd_start_reincarnated, NULL); in TEST_BEGIN() 123 thd_join(thd, NULL); in TEST_BEGIN()
|
| H A D | stats.c | 137 thd_t thd; in no_lazy_lock() local 139 thd_create(&thd, thd_start, NULL); in no_lazy_lock() 140 thd_join(thd, NULL); in no_lazy_lock()
|
| /f-stack/app/redis-5.0.5/deps/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);
|
| H A D | jemalloc_test.h.in | 129 #include "test/thd.h"
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/test/integration/ |
| H A D | thread_tcache_enabled.c | 71 thd_t thd; in TEST_BEGIN() local 73 thd_create(&thd, thd_start, NULL); in TEST_BEGIN() 74 thd_join(thd, NULL); in TEST_BEGIN()
|
| H A D | allocated.c | 108 thd_t thd; in TEST_BEGIN() local 110 thd_create(&thd, thd_start, NULL); in TEST_BEGIN() 111 thd_join(thd, NULL); in TEST_BEGIN()
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/ |
| H A D | Makefile.in | 152 $(srcroot)test/src/thd.c $(srcroot)test/src/timer.c
|