summaryrefslogtreecommitdiff
path: root/gold/workqueue.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-10-17 06:24:50 +0000
committerIan Lance Taylor <iant@google.com>2007-10-17 06:24:50 +0000
commitfe9a4c1201a3e0867cbc0324c55cfe90dce9415b (patch)
tree1cfc4aa11a0b71f31000b3fb7abecc367dd52180 /gold/workqueue.h
parentae326da8ebcb14de70678bb726732a1c8923d63c (diff)
downloadbinutils-gdb-fe9a4c1201a3e0867cbc0324c55cfe90dce9415b.tar.gz
Add infrastructure for threading support.
Diffstat (limited to 'gold/workqueue.h')
-rw-r--r--gold/workqueue.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gold/workqueue.h b/gold/workqueue.h
index 0b88f9411f0..777b3aa0918 100644
--- a/gold/workqueue.h
+++ b/gold/workqueue.h
@@ -47,7 +47,7 @@ class Task;
class Workqueue;
// Some tasks require access to shared data structures, such as the
-// symbol table. Some tasks must be executed in a particular error,
+// symbol table. Some tasks must be executed in a particular order,
// such as reading input file symbol tables--if we see foo.o -llib, we
// have to read the symbols for foo.o before we read the ones for
// -llib. To implement this safely and efficiently, we use tokens.
@@ -391,6 +391,10 @@ class Workqueue
void
cleared_blocker();
+ // Set the thread count.
+ void
+ set_thread_count(int);
+
private:
// This class can not be copied.
Workqueue(const Workqueue&);