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 http://www.tim-mann.org/xboard/engine-intf.html#6
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.