Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Difference between Winborad and UCI protocol

Author: Sune Fischer

Date: 01:17:39 04/23/02

Go up one level in this thread


On April 23, 2002 at 04:10:09, Daniel Clausen wrote:

>On April 23, 2002 at 03:39:01, Martin Bauer wrote:
>
>>Hello,
>>
>>can someone help mem with these two questions:
>>
>> - Is winboard comunication done by stdin/out with plain text commands,
>> as in UCI?
>
>I don't know about UCI, but winboard/xboard communication works with stdin/out
>and plain text commands.
>
>
>> - Must in winboard the engine be able to listen stdin even while thinking?
>
>Well, if you want to react to commands like "force move" or "new game" while
>you're thinking you better listen. :) Of course you don't have to..
>
>My engine has its own thread for listening. It's my feeling that a good design
>here is easier when using threads. YMMV.
>
>HTH
>
>Sargon

Is there a "quick" tutorial on how to use threads?
A small piece of code would be real nice :)

I did it once with pthreads in linux, but did not do anything fancy, it was all
on local variables that didn't need any volatile stuff.

-S.







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.