lkml.org 
[lkml]   [2012]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Hang opening a pipe written to by a child, with SIGCHLD
On Mon, Apr 02, 2012 at 08:50:57PM +0200, Lluís Batlle i Rossell wrote:
> On Mon, Apr 02, 2012 at 10:49:10AM -0400, Shea Levy wrote:
> > On 04/02/2012 10:46 AM, Lluís Batlle i Rossell wrote:
> > >Can anyone reproduce this?
> >
> > I've reproduced this on my system as well (3.3). No idea about cause though.
> >
>
> Thank you Shea,

All clear. I had a race condition; sorry for the noise. Proper synchronization
through close() in the child and read() = 0 in the parent fixes all.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2012-04-02 22:23    [W:0.186 / U:1.860 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site