diff options
author | Chris Robinson <[email protected]> | 2018-11-27 13:41:30 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-27 13:41:30 -0800 |
commit | f26083e9edc6491f553aae951886d89b70288528 (patch) | |
tree | 1bb2b82ec786cbe2a98a3a5066c0be7c52dff1d1 /Alc/alcontext.h | |
parent | 3f745be1dc4df7ffeec89f1d90af41e139fb49db (diff) |
Make and use a semaphore class
Diffstat (limited to 'Alc/alcontext.h')
-rw-r--r-- | Alc/alcontext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alcontext.h b/Alc/alcontext.h index 274888e0..7b7688ac 100644 --- a/Alc/alcontext.h +++ b/Alc/alcontext.h @@ -111,7 +111,7 @@ struct ALCcontext_struct { std::atomic<ALeffectslotArray*> ActiveAuxSlots{nullptr}; std::thread EventThread; - alsem_t EventSem; + al::semaphore EventSem; ll_ringbuffer *AsyncEvents{nullptr}; std::atomic<ALbitfieldSOFT> EnabledEvts{0u}; std::mutex EventCbLock; |