[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090430135016.GA26868@squirrel.roonstrasse.net>
Date: Thu, 30 Apr 2009 15:50:16 +0200
From: Max Kellermann <max@...mpel.org>
To: Vegard Nossum <vegard.nossum@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [splice PATCH 3/3] splice: added support for pipe-to-pipe
splice()
On 2009/04/30 15:35, Vegard Nossum <vegard.nossum@...il.com> wrote:
> What happens if you splice two pipes, in separate threads, to each
> other? :-)
As a demonstration, here's an experiment with older technology, when
pipes were still made of wood (pre-splice):
mkfifo /tmp/foo
cat /tmp/foo >/tmp/foo
You may launch the real thing now with a simple
echo Hello World >tmp/foo
Warning: with only one pipe, you're likely to bend the pipe too far,
and it may break (SIGPIPE).
Max
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists