On Fri, Nov 29, 2013 at 21:25:39 -0500, Ben Boeckel wrote:
> I don't think block-until-there's-a-reader is possible (I think SIGPIPE
> is tossed into the mix right away).

Actually, the comment in uzbl is:

    /* We don't really need to write to the file, but if we open the file as
     * 'r' we will block here, waiting for a writer to open the file. */
    GIOChannel *chan = g_io_channel_new_file (path, "r+", &error);

so it does block. Whether tmux should block for save-buffer or not is up
to Nick, but I don't think it'd be a good default (what do you do if the
FIFO is deleted and the reader dies? Poke around in /proc?).

--Ben

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to