CallDelegInMainLoop() 공개 메소드

public CallDelegInMainLoop ( System d ) : EventWaitHandle
d System
리턴 System.Threading.EventWaitHandle
예제 #1
0
파일: Main.cs 프로젝트: wilson1011/uia2atk
        public static void Kill(MovingThread thread)
        {
            EventWaitHandle wh = thread.CallDelegInMainLoop(KillMe);

            wh.WaitOne();
            if (thread.ExceptionHappened != null)
            {
                throw thread.ExceptionHappened;
            }
            wh.Close();
        }
예제 #2
0
파일: Main.cs 프로젝트: mono/uia2atk
		public static void Kill (MovingThread thread) 
		{
			EventWaitHandle wh = thread.CallDelegInMainLoop (KillMe);
			wh.WaitOne ();
			if (thread.ExceptionHappened != null)
				throw thread.ExceptionHappened;
			wh.Close ();
		}