73 void enterRead()
const noexcept;
83 bool tryEnterRead()
const noexcept;
95 void exitRead()
const noexcept;
105 void enterWrite()
const noexcept;
115 bool tryEnterWrite()
const noexcept;
127 void exitWrite()
const noexcept;
134 mutable int numWaitingWriters = 0, numWriters = 0;
137 struct ThreadRecursionCount
Holds a resizable array of primitive or copy-by-value objects.
A critical section that allows multiple simultaneous readers.
A simple spin-lock class that can be used as a simple, low-overhead mutex for uncontended situations.
void * ThreadID
A value type used for thread IDs.
Allows threads to wait for events triggered by other threads.
#define JUCE_API
This macro is added to all JUCE public class declarations.