예제 #1
0
    private void CallContextBoundObjectMethod()
    {
        m_Mutex.WaitOne();
        TestContextBoundObject obj = new TestContextBoundObject();

        obj.TestMethod();
        m_Mutex.ReleaseMutex();
    }
예제 #2
0
 private void CallContextBoundObjectMethod()
 {
     m_Mutex.WaitOne();
     TestContextBoundObject obj = new TestContextBoundObject();
     obj.TestMethod();
     m_Mutex.ReleaseMutex();
 }