Cary Coutant
|
dcd8d12e1c
|
* workqueue-internal.h (Workqueue_threader::should_cancel_thread):
Add thread_number parameter.
(Workqueue_threader_threadpool::should_cancel_thread): Likewise.
* workqueue-threads.cc
(Workqueue_threader_threadpool::should_cancel_thread): Cancel
current thread if its thread number is greater than desired thread
count.
* workqueue.cc (Workqueue_threader_single::should_cancel_thread):
Add thread_number parameter.
(Workqueue::should_cancel_thread): Likewise.
(Workqueue::find_runnable_or_wait): Pass thread_number to
should_cancel_thread.
* workqueue.h (Workqueue::should_cancel_thread): Add thread_number
parameter.
|
2011-07-28 23:25:06 +00:00 |
|
Ian Lance Taylor
|
ebdbb4583d
|
Update copyright years. Update language files.
|
2008-03-13 21:04:21 +00:00 |
|
Ian Lance Taylor
|
17a1d0a9b2
|
Rewrite workqueue. This version eliminates the master thread, and
reduces the amount of locking required to find a new thread to run.
|
2007-12-14 19:00:21 +00:00 |
|
Ian Lance Taylor
|
fd6940ea27
|
Fix comment.
|
2007-12-06 05:27:24 +00:00 |
|
Ian Lance Taylor
|
c79126688f
|
Add threading support.
|
2007-11-22 00:05:51 +00:00 |
|