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/alBuffer.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/alBuffer.h')
-rw-r--r-- | OpenAL32/Include/alBuffer.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/OpenAL32/Include/alBuffer.h b/OpenAL32/Include/alBuffer.h index 8eedddbc..fbe3e6e5 100644 --- a/OpenAL32/Include/alBuffer.h +++ b/OpenAL32/Include/alBuffer.h @@ -102,8 +102,6 @@ typedef struct ALbuffer { /* Number of times buffer was attached to a source (deletion can only occur when 0) */ RefCount ref; - RWLock lock; - /* Self ID */ ALuint id; } ALbuffer; |