• Aric Cyr's avatar
    dplayx: Fix semaphore deadlock. · 75fc82c9
    Aric Cyr authored
    - Make sure to release the dplayx semaphore in for error cases as well.
    - Prevent race condition between creation of the semaphore and
      grabbing of the lock by creating the semaphore in the locked state
      instead of unlocked.
    75fc82c9
dplayx_global.c 36.5 KB