projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix build breakage from last commit (window-nat.c:windows_create_inferior)
[deliverable/binutils-gdb.git]
/
gold
/
gold-threads.cc
diff --git
a/gold/gold-threads.cc
b/gold/gold-threads.cc
index ebd9c1f2c4365d35184d69d359506daa1b80c689..aef2613b1af61b5872d44c390c609950ff7b2e08 100644
(file)
--- a/
gold/gold-threads.cc
+++ b/
gold/gold-threads.cc
@@
-1,6
+1,6
@@
// gold-threads.cc -- thread support for gold
// gold-threads.cc -- thread support for gold
-// Copyright (C) 2006-201
4
Free Software Foundation, Inc.
+// Copyright (C) 2006-201
7
Free Software Foundation, Inc.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of gold.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of gold.
@@
-100,11
+100,11
@@
Lock_impl_threads::Lock_impl_threads()
pthread_mutexattr_t attr;
int err = pthread_mutexattr_init(&attr);
if (err != 0)
pthread_mutexattr_t attr;
int err = pthread_mutexattr_init(&attr);
if (err != 0)
- gold_fatal(_("pthead_mutex
t
attr_init failed: %s"), strerror(err));
+ gold_fatal(_("pthead_mutexattr_init failed: %s"), strerror(err));
#ifdef PTHREAD_MUTEX_ADAPTIVE_NP
#ifdef PTHREAD_MUTEX_ADAPTIVE_NP
- err = pthread_mutex
t
attr_settype(&attr, PTHREAD_MUTEX_ADAPTIVE_NP);
+ err = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ADAPTIVE_NP);
if (err != 0)
if (err != 0)
- gold_fatal(_("pthread_mutex
t
attr_settype failed: %s"), strerror(err));
+ gold_fatal(_("pthread_mutexattr_settype failed: %s"), strerror(err));
#endif
err = pthread_mutex_init(&this->mutex_, &attr);
#endif
err = pthread_mutex_init(&this->mutex_, &attr);
This page took
0.023586 seconds
and
4
git commands to generate.