public void TimedLockFromSecondsTest() { ThreadedRepeat(10, index => { object lockTarget = new object(); using (TimedLock.LockForSeconds(lockTarget, 1)) { Thread.Sleep(200); } }); }