Пример #1
0
 static ReadWriteSpinLock()
 {
     s_disableBusyWaiting = SystemInfo.GetNumProcessCPUs() == 1;
     s_backOffFactors     = new double[] { 1.02, 0.965, 0.89, 1.065, 1.025, 1.115, 0.94, 0.995, 1.05, 1.08, 0.915, 0.98, 1.01 };
 }