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