8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 22:43:04 +01:00

Disabled spinlocks.

This commit is contained in:
dimitr 2006-05-03 07:02:24 +00:00
parent 1ae065e014
commit dc70aaeb02

View File

@ -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