Author: James Long
Date: 10:37:34 07/04/98
In my quest to build a custom UI for my program, I've come across the following problems: 1) During the search, it is impossible to pull down a menu, minimize the program, or do *anything* else until the search is done. 2) Updating the (displayed) clocks is a problem. I'm using C++/MFC, so I tried setting a timer that called a function to check if the clocks were up to date (every 500 milliseconds). No problems while the user is on move, but the clocks don't get updated during the search. A friend on ICC suggested I spool off a worker thread when the computer goes on move, which would leave the interface thread free to check for user input. So my question is - would doing so take (much) time away from the search? If the CPUs time is split between threads, would the engine "suffer"? And the clocks - would spooling off yet another worker thread who's job is to keep the clocks up to date take yet more time away from the search? Please send responses via email. I don't think I'm seeing all the posts. --- James
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.