示例#1
0
        public IOLoop()
        {
            evloop = Loop.CreateDefaultLoop (0);

            prepare_watcher = new PrepareWatcher (evloop, HandlePrepareEvent);
            prepare_watcher.Start ();
        }
示例#2
0
文件: IOLoop.cs 项目: koush/manos
        public IOLoop()
        {
            evloop = Loop.CreateDefaultLoop (0);
            eio = new Libeio.Libeio ();

            eio.Initialize (evloop);

            prepare_watcher = new PrepareWatcher (evloop, HandlePrepareEvent);
            prepare_watcher.Start ();
        }