diff options
author | Ian Lance Taylor <iant@google.com> | 2007-10-17 06:24:50 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-10-17 06:24:50 +0000 |
commit | fe9a4c1201a3e0867cbc0324c55cfe90dce9415b (patch) | |
tree | 1cfc4aa11a0b71f31000b3fb7abecc367dd52180 /gold/workqueue.h | |
parent | ae326da8ebcb14de70678bb726732a1c8923d63c (diff) | |
download | gdb-fe9a4c1201a3e0867cbc0324c55cfe90dce9415b.zip gdb-fe9a4c1201a3e0867cbc0324c55cfe90dce9415b.tar.gz gdb-fe9a4c1201a3e0867cbc0324c55cfe90dce9415b.tar.bz2 |
Add infrastructure for threading support.
Diffstat (limited to 'gold/workqueue.h')
-rw-r--r-- | gold/workqueue.h | 6 |
1 files changed, 5 insertions, 1 deletions
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&); |