aboutsummaryrefslogtreecommitdiff
path: root/gold/workqueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'gold/workqueue.h')
-rw-r--r--gold/workqueue.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gold/workqueue.h b/gold/workqueue.h
index 3b7a764..7545224 100644
--- a/gold/workqueue.h
+++ b/gold/workqueue.h
@@ -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&);