[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 14/12] libxl: fork: Make SIGCHLD self-pipe nonblocking
Ian Campbell writes ("Re: [PATCH 14/12] libxl: fork: Make SIGCHLD self-pipe nonblocking"): > On Tue, 2014-01-21 at 15:11 +0000, Ian Jackson wrote: > > Use the new libxl__pipe_nonblock and _close functions, rather than > > open coding the same logic. Now the pipe is nonblocking, which avoids > > a race which could result in libxl deadlocking in a multithreaded > > program. > > Is any additional error handling required at any of the points where the > pipe is used, EWOULDBLOCK etc. No, they are just the libxl__self_pipe* functions as you have noticed, which are designed to work (only!) with nonblocking fds. > Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> Thanks, Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |