This commit is contained in:
WolverinDEV 2019-07-07 14:32:42 +02:00
commit 4dec407132

View File

@ -13,7 +13,7 @@ class spin_lock {
#ifdef WIN32
while(locked._My_flag > 0) {
#else
while(locked._M_i) {
while(locked._M_i) {
#endif
//Yield when we're using this lock for a longer time, which we usually not doing
if(round++ % 8 == 0)