summaryrefslogtreecommitdiff
path: root/src/jthread/jmutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/jthread/jmutex.h')
-rw-r--r--src/jthread/jmutex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jthread/jmutex.h b/src/jthread/jmutex.h
index 39bd95f02..9ce013096 100644
--- a/src/jthread/jmutex.h
+++ b/src/jthread/jmutex.h
@@ -35,7 +35,7 @@
#endif // _WIN32_WCE
#include <winsock2.h>
#include <windows.h>
-
+ // CriticalSection is way faster than the alternative
#define JMUTEX_CRITICALSECTION
#else // using pthread
#include <pthread.h>