Re: [PATCH] winepulse.drv: Add PulseAudio driver
11 Jun
2012
11 Jun
'12
10:36 a.m.
Andrew Eikum <aeikum(a)codeweavers.com> writes:
There's a lengthy comment in ready_pulse() describing why we're using pthreads syncro primitives instead of Win32 primitives. I was under the impression (thanks to the CoreAudio driver, mostly) that threads not created through CreateThread() cannot use CRITICAL_SECTION, ERR, WARN, TRACE, and so on. However, when I was testing, I noticed that debug printing _does_ work in callbacks from the pthread thread.
You can't do that, you need to create a proper Win32 thread, and solve the loader lock issue some other way. -- Alexandre Julliard julliard(a)winehq.org
4934
Age (days ago)
4934
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard