minor locking optimizations

This commit is contained in:
Rich Felker 2011-06-14 01:23:42 -04:00
commit 6232b96f51
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ void __pthread_unwind_next(struct __ptcb *cb)
longjmp((void *)cb->__next->__jb, 1);
}
LOCK(&self->exitlock);
__lock(&self->exitlock);
__pthread_tsd_run_dtors();