aboutsummaryrefslogtreecommitdiff
path: root/src/thread/pthread_mutex_init.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-03-17 13:35:08 -0400
committerRich Felker <dalias@aerifal.cx>2011-03-17 13:35:08 -0400
commit18c7ea8055cf733f168d2c74d7cc8523a360f5f1 (patch)
tree853806a94f1f044ba64e136b2abe2e6ff54db456 /src/thread/pthread_mutex_init.c
parentreorder mutex struct fields to make room for pointers (upcoming robust mutexes) (diff)
downloadgrovel-18c7ea8055cf733f168d2c74d7cc8523a360f5f1.tar.gz
grovel-18c7ea8055cf733f168d2c74d7cc8523a360f5f1.tar.xz
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.
Diffstat (limited to 'src/thread/pthread_mutex_init.c')
0 files changed, 0 insertions, 0 deletions