[Pkg-openldap-devel] back..

Steve Langasek vorlon at debian.org
Sun Mar 4 07:47:36 CET 2007


On Sat, Mar 03, 2007 at 10:12:45PM -0800, Quanah Gibson-Mount wrote:
> >The only thing I'm not clear on is why this particular check:
> >
> >+			if( connections[i].c_struct_state == SLAP_C_USED ) {
> >
> >is moved inside the mutex, given that there's another check against
> >c_struct_state immediately preceding the mutex.

> Well, because that is where the race condition was, IIRC. :)

Heh, alright.  It was clearly a possibility, it just seemed like an odd sort
of thing to have a race on. :)

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/



More information about the Pkg-openldap-devel mailing list