[PATCH] winepulse.drv: Add PulseAudio driver

Alexandre Julliard julliard at winehq.org
Mon Jun 11 05:36:45 CDT 2012


Andrew Eikum <aeikum at 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 at winehq.org



More information about the wine-devel mailing list