Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: ping/pong implementation in crafty

Author: Dann Corbit

Date: 12:48:33 09/10/02

Go up one level in this thread


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.



This page took 0.01 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.