diff options
Diffstat (limited to 'src/engine/MessageContext.hpp')
-rw-r--r-- | src/engine/MessageContext.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/MessageContext.hpp b/src/engine/MessageContext.hpp index c0813e69..a68d9927 100644 --- a/src/engine/MessageContext.hpp +++ b/src/engine/MessageContext.hpp @@ -72,7 +72,7 @@ public: * AUDIO THREAD ONLY. */ inline void signal(ProcessContext& context) { - assert(ThreadManager::current_thread_id() == THREAD_PROCESS); + ThreadManager::assert_thread(THREAD_PROCESS); const Request cycle_end_request(context.end(), NULL); _requests.write(sizeof(Request), &cycle_end_request); _sem.post(); |