From 28fa82378b54ecbf3fb04de2ba1c61d7b6d90503 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 2 Feb 2018 22:24:33 -0800 Subject: 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. --- OpenAL32/Include/alBuffer.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'OpenAL32/Include/alBuffer.h') 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; -- cgit v1.2.3