Akash Rawal wrote:
+static HANDLE +get_hevent() +{ + HANDLE res; + + pthread_mutex_lock(&event_pool.lock);
Do you assume <pthread.h> and MinGW-w64 here? Code like this will break in MSVC. AFAICS, you could use the stuff in <Gnulib-root>/lib/glthread/*.c glthread_lock_lock_func() etc. -- --gv