forked from Imagelibrary/binutils-gdb
Add infrastructure for threading support.
This commit is contained in:
@@ -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&);
|
||||
|
||||
Reference in New Issue
Block a user