Marcus Brinkmann <[EMAIL PROTECTED]> writes:

> Now, suppose you have a program like wc that collects data and returns
> a summary of that data.  It will read from stdin until it gets EOF, and
> then print from stdout.  But if I use the above translator, I have only
> one filedescriptor, and I cannot simply close it if I want to read back
> the summary of wc.  So how do I inform the translator that it should
> close the pipe the forked program reads from (it can easily use two
> pipes instead one bidirectional one, but the program holding a port to
> the translator can not easily get two ports, one for the reads and one
> for the writes).

Does your run-translator get any interesting rpc if the process that
opened the translated node calls shutdown on its fd?

/Niels

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to