예제 #1
0
파일: Program.cs 프로젝트: Mofsy/jinxbot
        static void Main(string[] args)
        {
            _settings = new BattleNetSettings();

            _ended = new EventWaitHandle(false, EventResetMode.ManualReset);
            Thread t = new Thread(MainThread);
            t.IsBackground = false;
            t.Priority = ThreadPriority.Normal;
            t.Start();

            _ended.WaitOne();
        }
예제 #2
0
        static void Main(string[] args)
        {
            _settings = new BattleNetSettings();

            _ended = new EventWaitHandle(false, EventResetMode.ManualReset);
            Thread t = new Thread(MainThread);

            t.IsBackground = false;
            t.Priority     = ThreadPriority.Normal;
            t.Start();

            _ended.WaitOne();
        }