cgv
Loading...
Searching...
No Matches
pthread_lib.cxx
1
3#ifdef PTW32_STATIC_LIB
4
5#include "pthread.h"
6
7struct thread_control_member
8{
9 thread_control_member()
10 {
11 pthread_win32_process_attach_np ();
12 pthread_win32_thread_attach_np ();
13 }
14 ~thread_control_member()
15 {
16 pthread_win32_thread_detach_np ();
17 pthread_win32_process_detach_np ();
18 }
19};
20
21thread_control_member static_thread_control;
22
23#endif /* PTW32_STATIC_LIB */