Mono.Debugger.Backend.DebuggerMutex.Unlock C# (CSharp) Метод

Unlock() публичный Метод

public Unlock ( ) : void
Результат void
        public void Unlock()
        {
            Debug ("{0} unlocking {1}", CurrentThread, Name);
            Monitor.Exit (this);
            Debug ("{0} unlocked {1}", CurrentThread, Name);
        }

Usage Example

Пример #1
0
        protected bool Initialize(Inferior target)
        {
            try {
                mutex.Lock();
                this.target = target;

                handle = mono_debugger_thread_db_init(
                    target.PID, global_lookup_func, read_memory_func,
                    write_memory_func);

                return(handle != IntPtr.Zero);
            } finally {
                this.target = null;
                mutex.Unlock();
            }
        }