Mono.Debugger.ObjectCache.Initialize C# (CSharp) Method

Initialize() public static method

public static Initialize ( ) : void
return void
        public static void Initialize()
        {
            mutex = new DebuggerMutex ("object_cache");
            objects = new ArrayList ();
            timer = new Timer (new TimerCallback (cleanup_process), null, 0, 60000);
        }

Usage Example

示例#1
0
        public Debugger(DebuggerConfiguration config)
        {
            this.config = config;
            this.alive  = true;

            ObjectCache.Initialize();

            kill_event = new ManualResetEvent(false);

            thread_manager = new ThreadManager(this);
            process_hash   = Hashtable.Synchronized(new Hashtable());
            stopped_event  = new ManualResetEvent(false);
            operation_host = new MyOperationHost(this);
        }