Quoting Jose Fonseca (2015-03-26 09:01:41) > The approach we use to statically initialize critical sections on > windows is unofficial. Read > http://locklessinc.com/articles/pthreads_on_windows/ for the gritty details.
From the page:
#define PTHREAD_MUTEX_INITIALIZER {(void*)-1,-1,0,0,0,0}
(void*)-1 ??? I've never seen that before. That *is* a gritty detail.
_______________________________________________
waffle mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/waffle

