Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Comet captures its own King at e1 of 5th game in Comet-Crafty match

Author: Robert Hyatt

Date: 05:47:17 05/29/98

Go up one level in this thread


On May 29, 1998 at 04:02:51, Ulrich Tuerke wrote:

>"quit" is accepted any time by Comet. One can easily verify this by
>starting the engine without winboard, and playing.
>The peeknamedpipe() code from Crafty had been already stolen and
>implemented by me. Thanks for that.
>I speculate that my program had been swapped out of memory when winboard
>was starting the next game. Not unlikely, since it was a situation where
>a forced mate was close. So, Comet wasn't even pondering in the moment
>when Crafty outputted its move. A good reason for windows to swap out a
>program being suspended anyway, isn't it ?
>Anyway, it's only speculation.

NT typically doesn't do this.  So unless memory has reached a critical
lower bound, nothing should be swapped at all...  one debugging test you
could do is to simply echo *everything* you read right back to stdout,
maybe like this:

input="this was sent by winboard"

then the debug file will show the quit being sent by winboard, and your
echo will show when/if you read it in... then we can see better what is
going
on...

And don't take criticism too seriously.  I get *plenty* of complaints.
They are part of the "freeware" game it seems...



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.