diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-06-14 01:23:42 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-06-14 01:23:42 -0400 |
commit | 6232b96f5153d0b718054a8bc569fcd7d596bab2 (patch) | |
tree | 0fe36b6b009ece51152b40777c4a31d79b25f374 /src/thread/pthread_create.c | |
parent | 0e1762539c2ad359ba10502cdfb750b5afd2329e (diff) | |
download | musl-6232b96f5153d0b718054a8bc569fcd7d596bab2.tar.gz musl-6232b96f5153d0b718054a8bc569fcd7d596bab2.tar.xz musl-6232b96f5153d0b718054a8bc569fcd7d596bab2.zip |
minor locking optimizations
Diffstat (limited to 'src/thread/pthread_create.c')
-rw-r--r-- | src/thread/pthread_create.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |