Don't do lock elision on an error checking mutex (bug 17514)
commit5aded6f2abbe19bc77e563b7db10aa9dd037a90d
authorAndreas Schwab <schwab@suse.de>
Wed, 13 Jan 2016 15:04:42 +0000 (13 16:04 +0100)
committerAndreas Schwab <schwab@suse.de>
Mon, 25 Jan 2016 15:26:07 +0000 (25 16:26 +0100)
treec0ef8f09db876a88ea8c29e29c6655d1c50f4f7d
parent9200e581e500b6c8ad52733f9c0ac3efc8d4b4b9
Don't do lock elision on an error checking mutex (bug 17514)

Error checking mutexes are not supposed to be subject to lock elision.
That would defeat the error checking nature of the mutex because lock
elision doesn't record ownership.
ChangeLog
nptl/Makefile
nptl/pthread_mutex_timedlock.c
nptl/tst-mutex-errorcheck.c [new file with mode: 0644]