Gisle Vanem wrote:
> AFAICS, you could use the stuff in
> /lib/glthread/*.c
Thanks a lot I was looking for something like this.
Please let me know if I am missing anything else.
Regards,
Akash Rawal
>From 40fc0f1cbc5184fca75fb955313caa8de430a2b2 Mon Sep 17 00:00:00 2001
From: Akash Rawal
Date:
Akash Rawal wrote:
+static HANDLE
+get_hevent()
+{
+ HANDLE res;
+
+ pthread_mutex_lock(&event_pool.lock);
Do you assume and MinGW-w64 here?
Code like this will break in MSVC.
AFAICS, you could use the stuff in
/lib/glthread/*.c
glthread_lock_lock_func() etc.
--
--gv