[Top][All Lists]

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

Re: bug release tags

From: John Darrington
Subject: Re: bug release tags
Date: Wed, 1 Aug 2007 08:41:15 +0800
User-agent: Mutt/1.5.13 (2006-08-11)

On Tue, Jul 31, 2007 at 05:25:37PM -0700, Ben Pfaff wrote:

     > How easy would it be to make ascii output go to a pipe instead of a
     > file?
     Easy: call pipe, then fdopen.
     But I suspect that you're planning to make the output go to a
     pipe which is then read by the same process?  That is likely to
     deadlock: the output module can fill up the pipe buffer and
     block.  Blocking goes on forever, because the GUI will never get
     a chance to read from it as it's in the same process.

Or we'd need to introduce some kind of concurrency.  Either through
multi-threading !! or by scheduling the output driver to give up
control if it would otherwise block.  I think one of these solutions
would be desireable in the long term; I wouldn't want the gui to
'hang' for 10 seconds because somebody executed a procedure which
caused the output driver to write 100MB of text.

But you're right.  For now, perhaps it's better not to go down that


PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See or any PGP keyserver for public key.

Attachment: signature.asc
Description: Digital signature

reply via email to

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