Author: Martin Giepmans
Date: 11:38:49 09/25/04
Go up one level in this thread
On September 25, 2004 at 07:08:10, Tony Werten wrote: >The polling routine is ok. It will block while there is no input. > >My guess is that the problem is in your pondering. > >Do you have a sleep in your waiting function ? > >ie > >While not(oppo_made_move) do >begin > application.processmessages; > sleep(50); >end; > > >Tony The problem manifests with pondering off. But your idea is right! What I overlooked is that it is the main thread that should "sleep", not the polling thread. Thanks a lot! I owe you at least a few beers. ;) Btw, will you participate in the Dutch Open? Cheers, Martin
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.