Blame jemalloc/test/include/test/thd.h

Packit 345191
/* Abstraction layer for threading in tests. */
Packit 345191
#ifdef _WIN32
Packit 345191
typedef HANDLE thd_t;
Packit 345191
#else
Packit 345191
typedef pthread_t thd_t;
Packit 345191
#endif
Packit 345191
Packit 345191
void	thd_create(thd_t *thd, void *(*proc)(void *), void *arg);
Packit 345191
void	thd_join(thd_t thd, void **ret);