libc_r/uthread/uthread_join.c
Marc Olzheim
marcolz at stack.nl
Wed Dec 31 06:30:18 PST 2003
On Wed, Dec 31, 2003 at 09:22:14AM -0500, Daniel Eischen wrote:
> > Hmm, ok ;-) But then why is _thread_kern_sig_undefer() called within
> > every if-case, instead of just below the if ? It looked like it was
> > contructed this way to be able to omit _thread_kern_sig_undefer() in
> > that specific case... ;-)
>
> Look at revision 1.16 of uthread_join. Revision 1.17 removed the
> _thread_kern_sig_[un]defer()'s and revision 1.18 put them back in
> but left an undefer.
So I noticed. But it seems to me as if the undefers could be removed
from within the if-else-blocks and collapsed into a single undefer just
beneath the if-else-blocks, right before the
_thread_leave_cancellation_point();
Zlo
More information about the freebsd-hackers
mailing list