It seems like there was an issue - but try re-activating the code. 

What's the right thing to do?   

When you get a quit command, you send something over the pipe but then
you immediately shutdown the program (and the pipe) so I'm not sure what
happens if the controller doesn't read it before it shuts down.   This
is probably a bug if it isn't handled properly.   Does the process wait
until the pipe is read before shutting down?    It seems like I remember
reading that you are supposed to try to read from the pipe before
shutting it down.  

But if the program doesn't send an acknowledgment, such as in this case,
the controller will wait forever unless you do non-blocking i/o.    

- Don

  



On Mon, 2008-11-03 at 09:34 -0500, Michael Williams wrote:
> I see now that the code was there for that, but it was commented out for some 
> reason (in the Java version).
> 
> 
> Michael Williams wrote:
> > In order for the reference bot to work with gtpstatistics, it must 
> > acknowledge the quit command with an equal sign and new line, like all 
> > other gtp commands.
> > 
> 
> _______________________________________________
> computer-go mailing list
> [email protected]
> http://www.computer-go.org/mailman/listinfo/computer-go/

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
computer-go mailing list
[email protected]
http://www.computer-go.org/mailman/listinfo/computer-go/

Reply via email to