commit | 18c7ea8055cf733f168d2c74d7cc8523a360f5f1 | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Thu Mar 17 13:35:08 2011 -0400 |
committer | Rich Felker <dalias@aerifal.cx> | Thu Mar 17 13:35:08 2011 -0400 |
tree | 853806a94f1f044ba64e136b2abe2e6ff54db456 | |
parent | 93cc986ab37b14f8c6b624439ce2a2beca7b3cf7 [diff] |
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.