コード例 #1
0
        public static void StartEngine()
        {
            // Initialize the plug, through what we will communicate with the engine
            _thePlug = new WindowsRTPlug();
            Plug.Init(_thePlug);

            // Run the engine in async mode
            Windows.Foundation.IAsyncAction action = Windows.System.Threading.ThreadPool.RunAsync(delegate { new Engine().Run(new string[] { }); }, WorkItemPriority.Normal);
        }
コード例 #2
0
ファイル: WindowsRTEngine.cs プロジェクト: timvw74/Portfish
        public static void StartEngine()
        {
            // Initialize the plug, through what we will communicate with the engine
            _thePlug = new WindowsRTPlug();
            Plug.Init(_thePlug);

            // Run the engine in async mode
            Windows.Foundation.IAsyncAction action = Windows.System.Threading.ThreadPool.RunAsync(delegate { new Engine().Run(new string[] { }); }, WorkItemPriority.Normal);
        }