blob: 6702f36f97ffdb2159a1fecbfcdf4055fd0c1743 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include <pthread.h>
static void *func(void *arg) { return arg; }
int main(void) {
pthread_t tid;
#ifdef PTW32_STATIC_LIB
pthread_win32_process_attach_np();
pthread_win32_thread_attach_np();
#endif
return pthread_create (&tid, 0, func, 0) != 0;
}
|