Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: ping/pong implementation in crafty

Author: Andreas Guettinger

Date: 05:34:25 09/11/02

Go up one level in this thread


On September 10, 2002 at 15:48:33, Dann Corbit wrote:

>On September 10, 2002 at 15:34:05, Steffen Jakob wrote:
>
>>The xboard protocol spec says:
>>
>>"ping N" ... "if you receive a ping while pondering, you should reply
>>immediately and continue pondering."
>>
>>Crafty doesn't do this correctly. If you send "ping N" to crafty while it is
>>pondering it delays its response until a move was made.
>
>Probably, the best solution is to have a separate, synchronous thread for I/O
>with Winboard.  Some commands could simply be put onto a FIFO queue and others
>could get immediate reaction (like PING).
>
>It would also be nice to have two different 'quit' commands.  Perhaps 'quit' to
>exit instantly, and 'exit' to quit after all pending commands have completed.

Two separate threads would also solve the pondering problem. How do I make two
separate threads?

regards
- Andy



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.