• Ken Thomases's avatar
    winecoreaudio: Fix race to open. · 00e99963
    Ken Thomases authored
    Fixes a race condition (noted in a comment for wodOpen) when multiple
    threads try to open the same wave-out device simultaneously.
    Addressed by creating the device mutexes when the driver is
    initialized, instead of as each device is opened.  Then use the mutex
    to protect the open operation against races.  At the same time, made
    the mutexes recursive to avoid self-deadlocks the driver was
    encountering when reentered from the callback.
    00e99963
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
ChangeLog Loading commit data...
DEVELOPERS-HINTS Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
Make.rules.in Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...