Computer Chess Club Archives




Subject: Re: Is pondering unfair in engine matches on a PC?

Author: Tim Mann

Date: 21:20:31 02/20/01

Go up one level in this thread

On February 20, 2001 at 12:39:48, Leen Ammeraal wrote:

>>you want to look at peekNamedPipe(). It lets you ask the question "is there data
>>in the input buffer for me to read?" without blocking your process if the answer
>>is "no".
>>IE look at crafty's source, utility.c, for that function name to see how I
>>use it in windows.
>That is just what I wanted to know. Thank you very much.
>Leen Ammeraal

Using PeekNamedPipe can create subtle bugs if you don't know exactly what you're
doing.  (So can the alternative solutions, for that matter.)  I suggest
carefully reading

This page took 0.03 seconds to execute

Last modified: Thu, 07 Jul 11 08:48:38 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.