aboutsummaryrefslogtreecommitdiff
path: root/src/common/RingBufferAllocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/RingBufferAllocator.h')
-rw-r--r--src/common/RingBufferAllocator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/RingBufferAllocator.h b/src/common/RingBufferAllocator.h
index e53806f153..c717a1a9a1 100644
--- a/src/common/RingBufferAllocator.h
+++ b/src/common/RingBufferAllocator.h
@@ -11,6 +11,7 @@
#define COMMON_RING_BUFFER_ALLOCATOR_H_
#include "angleutils.h"
+#include "common/SimpleMutex.h"
#include "common/debug.h"
#include <atomic>
@@ -142,7 +143,7 @@ class SharedRingBufferAllocatorCheckPoint final : angle::NonCopyable
private:
friend class SharedRingBufferAllocator;
RingBufferAllocatorCheckPoint pop();
- std::mutex mMutex;
+ angle::SimpleMutex mMutex;
RingBufferAllocatorCheckPoint mValue;
#if defined(ANGLE_ENABLE_ASSERTS)