avoid function call to pthread_self in mutex unlock
authorRich Felker <dalias@aerifal.cx>
Thu, 17 Mar 2011 17:35:08 +0000 (13:35 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 17 Mar 2011 17:35:08 +0000 (13:35 -0400)
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.


No differences found