> > meem-104 nwamd/dlpi_events.c'123: Can this happen? If so, what prevents > > a situation where two thread simultaneously pass this check and race to > > both call pthread_create()? > > > > > > ACCEPT > > Actually REJECT. Yes, it can happen. But we thread calls of this > function through owning the lock on the object so it can't race. I've > added a comment that it is assumed that the caller owns the lock on the > object to the block comment at the top of the function.
OK. -- meem
