[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: run.c translator

From: Thomas Bushnell, BSG
Subject: Re: run.c translator
Date: 18 Mar 2002 21:00:03 -0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> writes:

> However, there is a fundamental problem in all this because we can't
> properly signal an EOF condition.  After all, we only have one file
> descriptor open to the run translator, and how can we signal that there is
> nothing left to read to it?  When we could, I would use two pipes instead
> one bidirectional, and close it.  This would be enough to let the running
> program know about it.  But how to get the end of file signal to the foo
> translator in the first place?  The filter program should do it somehow.
> Do we have some icky (or even proper) RPC that we can use for this?  Am I
> missing something obvious?

You want the "shutdown" call, which should do the right thing.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]