29 Feb
2012
29 Feb
'12
6:37 a.m.
On Feb 28, 2012, at 10:58 PM, Chris Robinson wrote:
On Tuesday, February 28, 2012 5:32:13 PM Maarten Lankhorst wrote:
+ * This is basically the same as the pa_threaded_mainloop implementation, + * but that cannot be used because it uses pthread_create directly + * + * pa_threaded_mainloop_(un)lock -> pthread_mutex_(un)lock + * pa_threaded_mainloop_signal -> pthread_cond_signal + * pa_threaded_mainloop_wait -> pthread_cond_wait
I'm curious why you're using pthreads. Doesn't WinAPI have anything comparable to pthread_cond_wait? It does: http://msdn.microsoft.com/en-us/library/ms686301(v=vs.85).aspx
For some reason, the condition variable API just hasn't been implemented in Wine yet. Chip