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 crash when exiting TUI with gdb -tui
[deliverable/binutils-gdb.git]
/
gold
/
gold-threads.cc
diff --git
a/gold/gold-threads.cc
b/gold/gold-threads.cc
index b06a908e165a9b60671d4a8279fdc949bb046efc..f972a8c97d35a2cb17001658e87eb5ca74ef5407 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-20
15
Free Software Foundation, Inc.
+// Copyright (C) 2006-20
20
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.024482 seconds
and
4
git commands to generate.