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
 | 
			
		||||
                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)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user