1/* Abstraction layer for threading in tests */ 2#ifdef _WIN32 3typedef HANDLE thd_t; 4#else 5typedef pthread_t thd_t; 6#endif 7 8void thd_create(thd_t *thd, void *(*proc)(void *), void *arg); 9void thd_join(thd_t thd, void **ret); 10