Computer Chess Club Archives




Subject: Re: pondering and XBoard, WinBoard

Author: Edward Screven

Date: 13:33:38 07/10/98

Go up one level in this thread

On July 07, 1998 at 17:48:18, Robert Hyatt wrote:

>On July 07, 1998 at 13:19:21, Alessandro Damiani wrote:
>>With XBoard one can program pondering using interrupts (SIGINT). But WinBoard
>>doesn't interrupt search...
>For unix/xboard, use select() ... For winboard, you need to use
>PeekNamedPipe() instead...

another way to read from WinBoard is to use a separate thread blocked on
ReadFile().  it's more complex because you also have to arrange for safe
shared data between the search and reader threads.  but for me the net
effort of threads was less, since the structure of my internal interfaces
meant that i could port to win32 by replacing SIGIO and SIGALRM
handlers with threads in an encapsulated way.

  - edward

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.