Re: Remove useless lock around opendir/readdir

2015-04-05 Thread Philip Guenther
On Fri, Mar 27, 2015 at 2:50 AM, Carlos Martín Nieto wrote: > A call to opendir thread-safe and the readdir calls only share the buffer > within the same directory stream, which is local to this function. Therefore > this lock does not buy us anything. committed, thanks Philip Guenther

Re: Remove useless lock around opendir/readdir

2015-03-30 Thread Brent Cook
> On Mar 30, 2015, at 12:11 AM, Philip Guenther wrote: > > On Fri, Mar 27, 2015 at 2:50 AM, Carlos Martín Nieto wrote: >> A call to opendir thread-safe and the readdir calls only share the buffer >> within the same directory stream, >> which is local to this function. Therefore this lock does

Re: Remove useless lock around opendir/readdir

2015-03-29 Thread Philip Guenther
On Fri, Mar 27, 2015 at 2:50 AM, Carlos Martín Nieto wrote: > A call to opendir thread-safe and the readdir calls only share the buffer > within the same directory stream, > which is local to this function. Therefore this lock does not buy us anything. Yep. Heads up on this, bcook, in case the