diff options
author | Ian Lance Taylor <ian@airs.com> | 2009-03-24 17:32:43 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2009-03-24 17:32:43 +0000 |
commit | 22fd9730a06b23ad93f31fed3377fcc51f3447df (patch) | |
tree | a10aa0539c5af876eb062af7f6a418ef8449a7cc /gold/gold-threads.cc | |
parent | 76a39ba7a1ba8d1ed51482ac5fb0091c98e02c2f (diff) | |
download | gdb-22fd9730a06b23ad93f31fed3377fcc51f3447df.zip gdb-22fd9730a06b23ad93f31fed3377fcc51f3447df.tar.gz gdb-22fd9730a06b23ad93f31fed3377fcc51f3447df.tar.bz2 |
* target-select.cc (instantiate_target): Don't acquire the lock if
the instantiated_target_ field has already been set.
Diffstat (limited to 'gold/gold-threads.cc')
-rw-r--r-- | gold/gold-threads.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/gold-threads.cc b/gold/gold-threads.cc index 3471708..b99cf27 100644 --- a/gold/gold-threads.cc +++ b/gold/gold-threads.cc @@ -308,7 +308,7 @@ class Initialize_lock_once static pthread_mutex_t initialize_lock_control = PTHREAD_MUTEX_INITIALIZER; // A pointer to a pointer to the lock which we need to initialize -// once. Access to this is controlled by initialize_lock_pointer. +// once. Access to this is controlled by initialize_lock_control. static Lock** initialize_lock_pointer; |