Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: For engine authors, end-of-file on input

Author: Fabien Letouzey

Date: 04:50:57 04/14/04

Go up one level in this thread



>>It's not supposed to hang if the pipe is broken (it should report an error, of
>>course).
>>It could do if the pipe was alive, but full.
>>I don't know what's the default buffer size for pipes, 4K or something?
>>I don't think that's what happens in your case.

>That could be exactly what happens, 4k is nothing in multipv mode.

The OS is supposed to close that pipe if Arena crashes.
Then printf() shouldn't hang anymore.
But, once more, I don't know the behaviour on Windows.

>'ctrl-Z' does nothing unless I also press return, then the engine is killed.

Could you please try it with other engines (Fruit, Yace)?
Just ctrl-Z.

Fabien.




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.