in pthread_mutex_trylock, EBUSY out more directly when possible
authorRich Felker <dalias@aerifal.cx>
Wed, 5 Sep 2018 01:28:38 +0000 (21:28 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 5 Sep 2018 01:28:38 +0000 (21:28 -0400)
commit4e4a162d9af283cf71f7310c497672e0c2b8ca3b
tree4f8d40cad0374520d9d31f14793bb33cd5e2fc1e
parent4fb273bd4002b37d7e149e077974bc22e2bc4e26
in pthread_mutex_trylock, EBUSY out more directly when possible

avoid gratuitously setting up and tearing down the robust list pending
slot.
src/thread/pthread_mutex_trylock.c