guile-user
[Top][All Lists]
Advanced

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

Re: Guile-user Digest, Vol 53, Issue 14


From: Daniel Llorens del Río
Subject: Re: Guile-user Digest, Vol 53, Issue 14
Date: Thu, 26 Apr 2007 18:10:45 +0200


On 26 Apr, 2007, at 18:01, address@hidden 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??)







reply via email to

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