mirror of git://sourceware.org/git/glibc.git
Fix typo in tst-mutex5 ifndef -> ifdef
This commit is contained in:
parent
15eaf6ffe3
commit
f8bdf1f0b6
|
@ -1,3 +1,8 @@
|
||||||
|
2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
|
||||||
|
|
||||||
|
* nptl/tst-mutex5 (do_test):
|
||||||
|
Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
|
||||||
|
|
||||||
2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
|
2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||||
|
|
||||||
* benchtests/README: Document 'init' directive.
|
* benchtests/README: Document 'init' directive.
|
||||||
|
|
|
@ -87,7 +87,7 @@ do_test (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Elided locks do not time out. */
|
/* Elided locks do not time out. */
|
||||||
#ifdef ENABLE_LOCK_ELISION
|
#ifndef ENABLE_LOCK_ELISION
|
||||||
if (pthread_mutex_trylock (&m) == 0)
|
if (pthread_mutex_trylock (&m) == 0)
|
||||||
{
|
{
|
||||||
puts ("mutex_trylock succeeded");
|
puts ("mutex_trylock succeeded");
|
||||||
|
|
Loading…
Reference in New Issue