projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2009-11-12 H.J. Lu <hongjiu.lu@intel.com>
[deliverable/binutils-gdb.git]
/
gold
/
workqueue.cc
diff --git
a/gold/workqueue.cc
b/gold/workqueue.cc
index 42182eabfb38b52b27bb545085564dd8d366b078..18c39003abdadbbd04bcc9cec1c5ac239e4c7690 100644
(file)
--- a/
gold/workqueue.cc
+++ b/
gold/workqueue.cc
@@
-494,4
+494,13
@@
Workqueue::set_thread_count(int threads)
this->condvar_.broadcast();
}
+// Add a new blocker to an existing Task_token.
+
+void
+Workqueue::add_blocker(Task_token* token)
+{
+ Hold_lock hl(this->lock_);
+ token->add_blocker();
+}
+
} // End namespace gold.
This page took
0.023313 seconds
and
4
git commands to generate.