mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:43:04 +01:00
Disabled spinlocks.
This commit is contained in:
parent
1ae065e014
commit
dc70aaeb02
@ -40,6 +40,7 @@ tSetCriticalSectionSpinCount*
|
||||
|
||||
Mutex::Mutex() {
|
||||
InitializeCriticalSection(&spinlock);
|
||||
/*
|
||||
if (SetCriticalSectionSpinCount == MISS_SPIN_COUNT)
|
||||
return;
|
||||
if (SetCriticalSectionSpinCount == INIT_SPIN_COUNT) {
|
||||
@ -57,6 +58,7 @@ Mutex::Mutex() {
|
||||
}
|
||||
}
|
||||
SetCriticalSectionSpinCount(&spinlock, 4000);
|
||||
*/
|
||||
}
|
||||
|
||||
#endif // WIN_NT
|
||||
|
Loading…
Reference in New Issue
Block a user