]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gold/workqueue.cc
* readsyms.cc (Read_symbols::incompatible_warning): New function.
[thirdparty/binutils-gdb.git] / gold / workqueue.cc
index 42182eabfb38b52b27bb545085564dd8d366b078..18c39003abdadbbd04bcc9cec1c5ac239e4c7690 100644 (file)
@@ -494,4 +494,13 @@ Workqueue::set_thread_count(int threads)
   this->condvar_.broadcast();
 }
 
+// Add a new blocker to an existing Task_token.
+
+void
+Workqueue::add_blocker(Task_token* token)
+{
+  Hold_lock hl(this->lock_);
+  token->add_blocker();
+}
+
 } // End namespace gold.