diff options
author | Chris Robinson <[email protected]> | 2018-02-02 22:24:33 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-02-02 22:24:33 -0800 |
commit | 28fa82378b54ecbf3fb04de2ba1c61d7b6d90503 (patch) | |
tree | a3463f903da0e00285f8c3e8895f85b886625eb5 /OpenAL32/Include/alSource.h | |
parent | 6a4a88f8f5c050b2a1e312984d072d806d7c387c (diff) |
Remove the individual source queue and buffer locks
They're inherently protected by the mutex for their respective lists. Should
those mutexes be replaced by rwlocks the individual locks should also be
reinstated, but they're unlikely to be unless a lot of contention starts
happening in the read-only case.
Diffstat (limited to 'OpenAL32/Include/alSource.h')
-rw-r--r-- | OpenAL32/Include/alSource.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h index 2892a245..277cf7f2 100644 --- a/OpenAL32/Include/alSource.h +++ b/OpenAL32/Include/alSource.h @@ -95,7 +95,6 @@ typedef struct ALsource { ATOMIC(ALenum) state; /** Source Buffer Queue head. */ - RWLock queue_lock; ALbufferlistitem *queue; ATOMIC_FLAG PropsClean; |