Пример #1
0
        public Boolean Wait(Object obj, TimeSpan timeout, Boolean exitContext)
        {
            BeforeWait?.Invoke();

            return(Monitor.Wait(obj, timeout, exitContext));
        }
Пример #2
0
        public void Wait(Object obj)
        {
            BeforeWait?.Invoke();

            Monitor.Wait(obj);
        }