/* * Test that an Interrupt outside of a lock hits the next attempt to lock. */ public void TestMonitorInterruptEnter() { if (!TestThread.IsThreadingSupported) { return; } MonitorInterruptEnter test = new MonitorInterruptEnter(); String result = test.testMonitorInterruptEnter(); if (result != null) { Assert(result, result == null); } }
/* * Test that an Interrupt outside of a lock hits the next attempt to lock. */ public void TestMonitorInterruptEnter() { if (!TestThread.IsThreadingSupported) { return; } MonitorInterruptEnter test = new MonitorInterruptEnter(); String result = test.testMonitorInterruptEnter(); if (result != null) Assert(result, result == null); }