Merge branch 'master' of http://git.did.science/WolverinDEV/TeaSpeak-SharedLib
This commit is contained in:
commit
4dec407132
@ -13,7 +13,7 @@ class spin_lock {
|
|||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
while(locked._My_flag > 0) {
|
while(locked._My_flag > 0) {
|
||||||
#else
|
#else
|
||||||
while(locked._M_i) {
|
while(locked._M_i) {
|
||||||
#endif
|
#endif
|
||||||
//Yield when we're using this lock for a longer time, which we usually not doing
|
//Yield when we're using this lock for a longer time, which we usually not doing
|
||||||
if(round++ % 8 == 0)
|
if(round++ % 8 == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user