From: Rich Felker Date: Thu, 17 Mar 2011 17:35:08 +0000 (-0400) Subject: avoid function call to pthread_self in mutex unlock X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=18c7ea8055cf733f168d2c74d7cc8523a360f5f1;hp=18c7ea8055cf733f168d2c74d7cc8523a360f5f1;p=musl avoid function call to pthread_self in mutex unlock if the mutex was previously locked, we can assume pthread_self was already called at the time of locking, and thus that the thread pointer is initialized. ---