• 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
..
joystick Loading commit data...
tests Loading commit data...
winealsa Loading commit data...
winearts Loading commit data...
wineaudioio Loading commit data...
winecoreaudio Loading commit data...
wineesd Loading commit data...
winejack Loading commit data...
winenas Loading commit data...
wineoss Loading commit data...
.gitignore Loading commit data...
Makefile.in Loading commit data...
driver.c Loading commit data...
joystick.c Loading commit data...
lolvldrv.c Loading commit data...
mci.c Loading commit data...
message16.c Loading commit data...
mmio.c Loading commit data...
mmsystem.c Loading commit data...
mmsystem.spec Loading commit data...
playsound.c Loading commit data...
sound.drv.spec Loading commit data...
sound16.c Loading commit data...
time.c Loading commit data...
winemm.h Loading commit data...
winemm16.h Loading commit data...
winmm.c Loading commit data...
winmm.spec Loading commit data...
winmm_Cs.rc Loading commit data...
winmm_De.rc Loading commit data...
winmm_En.rc Loading commit data...
winmm_Es.rc Loading commit data...
winmm_Fr.rc Loading commit data...
winmm_It.rc Loading commit data...
winmm_Ja.rc Loading commit data...
winmm_Ko.rc Loading commit data...
winmm_Nl.rc Loading commit data...
winmm_No.rc Loading commit data...
winmm_Pt.rc Loading commit data...
winmm_Ru.rc Loading commit data...
winmm_Si.rc Loading commit data...
winmm_Sk.rc Loading commit data...
winmm_Tr.rc Loading commit data...
winmm_res.rc Loading commit data...