summaryrefslogtreecommitdiff
path: root/src/support/threads.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/support/threads.cpp')
-rw-r--r--src/support/threads.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/support/threads.cpp b/src/support/threads.cpp
index 4830cd092..d9e8f8bf2 100644
--- a/src/support/threads.cpp
+++ b/src/support/threads.cpp
@@ -21,6 +21,7 @@
#include <string>
#include "threads.h"
+#include "compiler-support.h"
// debugging tools
@@ -178,6 +179,7 @@ void ThreadPool::notifyThreadIsReady() {
void ThreadPool::resetThreadsAreReady() {
DEBUG_POOL("reset threads are ready\n";)
auto old = ready.exchange(0);
+ WASM_UNUSED(old);
assert(old == threads.size());
}