* gold-threads.cc (Lock_impl_threads::Lock_impl_threads): Correct
#ifdef typo.
This commit is contained in:
parent
ee55da67fb
commit
0f32ea4ce3
|
@ -1,3 +1,8 @@
|
||||||
|
2010-06-07 Damien Diederen <dd@crosstwine.com>
|
||||||
|
|
||||||
|
* gold-threads.cc (Lock_impl_threads::Lock_impl_threads): Correct
|
||||||
|
#ifdef typo.
|
||||||
|
|
||||||
2010-06-03 Sriraman Tallam <tmsriram@google.com>
|
2010-06-03 Sriraman Tallam <tmsriram@google.com>
|
||||||
|
|
||||||
PR gold/11658
|
PR gold/11658
|
||||||
|
|
|
@ -101,7 +101,7 @@ Lock_impl_threads::Lock_impl_threads()
|
||||||
int err = pthread_mutexattr_init(&attr);
|
int err = pthread_mutexattr_init(&attr);
|
||||||
if (err != 0)
|
if (err != 0)
|
||||||
gold_fatal(_("pthead_mutextattr_init failed: %s"), strerror(err));
|
gold_fatal(_("pthead_mutextattr_init failed: %s"), strerror(err));
|
||||||
#ifdef PTHREAD_MUTEXT_ADAPTIVE_NP
|
#ifdef PTHREAD_MUTEX_ADAPTIVE_NP
|
||||||
err = pthread_mutextattr_settype(&attr, PTHREAD_MUTEX_ADAPTIVE_NP);
|
err = pthread_mutextattr_settype(&attr, PTHREAD_MUTEX_ADAPTIVE_NP);
|
||||||
if (err != 0)
|
if (err != 0)
|
||||||
gold_fatal(_("pthread_mutextattr_settype failed: %s"), strerror(err));
|
gold_fatal(_("pthread_mutextattr_settype failed: %s"), strerror(err));
|
||||||
|
|
Loading…
Reference in New Issue