message: Updated LockHelper to spin few times before yielding thread
diff: @@ -96,23 +96,37 @@ public:
  return false;
  }
  + static constexpr const int SpinCountToYield = 256;
  +
  static void UnsafeLock(LockFlag &LockFlag)
  {
  + int SpinCount = 0;
  while( !UnsafeTryLock( LockFlag ) )
  {
  + ++SpinCount;
  + if(SpinCount == SpinCountToYield)
  + {
  + SpinCount = 0;
  YieldThread();
  }
  }
  + }
  void Lock(LockFlag &LockFlag)
  {
  VERIFY( m_pLockFlag == NULL, "Object already locked" );
  // Wait for the flag to become unlocked and lock it
  + int SpinCount = 0;
  while( !TryLock( LockFlag ) )
  {
  + ++SpinCount;
  + if(SpinCount == SpinCountToYield)
  + {
  + SpinCount = 0;
  YieldThread();
  }
  }
  + }
  static void UnsafeUnlock(LockFlag &LockFlag)
  {
  