[CRIU] [PATCH 19/26] pipes: Add c/r for fifo files
Cyrill Gorcunov
gorcunov at openvz.org
Tue Jun 19 04:30:32 EDT 2012
Basically pipes are superset over fifos,
so we integrate fifo c/r into pipes.c.
There os acatually a trick used to open fifo files --
since fifo may block on opening we create a fake fifo
to be able to proceed without sleeping.
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
cr-dump.c | 8 ++-
cr-show.c | 15 ++++-
include/image.h | 10 +++
include/pipes.h | 3 +
pipes.c | 193 ++++++++++++++++++++++++++++++++++++++++++++++++-------
5 files changed, 202 insertions(+), 27 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0019-pipes-Add-c-r-for-fifo-files.patch
Type: text/x-patch
Size: 9910 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120619/dfb7d88f/0019-pipes-Add-c-r-for-fifo-files-0001.bin
More information about the CRIU
mailing list