From fe9a4c1201a3e0867cbc0324c55cfe90dce9415b Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 17 Oct 2007 06:24:50 +0000 Subject: Add infrastructure for threading support. --- gold/workqueue.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gold/workqueue.h') diff --git a/gold/workqueue.h b/gold/workqueue.h index 0b88f94..777b3aa 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&); -- cgit v1.1