PR ld/10515
[binutils-gdb.git] / gold / workqueue.h
index 3b7a764d73796b10890e7db16781fd35726c8a72..75452241d80515f3d3dc6f2eff810c4ad25cf91c 100644 (file)
@@ -227,6 +227,12 @@ class Workqueue
   void
   set_thread_count(int);
 
+  // Add a new blocker to an existing Task_token. This must be done
+  // with the workqueue lock held.  This should not be done routinely,
+  // only in special circumstances.
+  void
+  add_blocker(Task_token*);
+
  private:
   // This class can not be copied.
   Workqueue(const Workqueue&);