public void TestAcquireInterruptibly2() { Mutex sync = new Mutex(); try { sync.AcquireInterruptibly(1); } catch(Exception e) { UnexpectedException(e); } Thread t = new Thread(InterruptedSyncRunnable); try { t.Start(sync); t.Interrupt(); Assert.IsTrue(sync.AccessIsHeldExclusively()); t.Join(); } catch(Exception e) { UnexpectedException(e); } }