From 6232b96f5153d0b718054a8bc569fcd7d596bab2 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 14 Jun 2011 01:23:42 -0400 Subject: minor locking optimizations --- src/thread/pthread_create.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/thread/pthread_create.c') diff --git a/src/thread/pthread_create.c b/src/thread/pthread_create.c index a645f9fe..d1eea0ce 100644 --- a/src/thread/pthread_create.c +++ b/src/thread/pthread_create.c @@ -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(); -- cgit v1.2.1