Re: [ovs-dev] [threads 05/28] timeval: Always block SIGALRM in time_poll().

2013-07-11 Thread Ben Pfaff
On Thu, Jul 11, 2013 at 09:13:15AM -0400, Ed Maste wrote: > On 10 July 2013 19:03, Ben Pfaff wrote: > > (The usual reason for ppoll() is to ensure atomicity of changing the signal > > mask and blocking, but time_poll() does not need atomicity. Therefore, > > even a userspace emulated ppoll() woul

Re: [ovs-dev] [threads 05/28] timeval: Always block SIGALRM in time_poll().

2013-07-11 Thread Ed Maste
On 10 July 2013 19:03, Ben Pfaff wrote: > (The usual reason for ppoll() is to ensure atomicity of changing the signal > mask and blocking, but time_poll() does not need atomicity. Therefore, > even a userspace emulated ppoll() would work here in a race-free manner, if > the kernel does not suppor