On 26 Apr, 2007, at 18:01, [EMAIL PROTECTED] wrote:

Doesn't `OPEN_BOTH' do what you want?  However, the manual reads:

   Care should be taken with `OPEN_BOTH', a deadlock will occur if
   both parent and child are writing, and waiting until the write
   completes before doing any reading.  Each direction has `PIPE_BUF'
   bytes of buffering (*note Ports and File Descriptors::), which
   will be enough for small writes, but not for say putting a big
   file through a filter.

A socket pair might be suitable, too.

The problem with the result of open-input-output-pipe is that it is not possible to close one end and leave the other open. (Or is it??)





_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user

Reply via email to