summaryrefslogtreecommitdiff
path: root/gold/workqueue-threads.cc
Commit message (Collapse)AuthorAgeFilesLines
* * workqueue-internal.h (Workqueue_threader::should_cancel_thread):Cary Coutant2011-07-281-3/+4
| | | | | | | | | | | | | | | | 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.
* Update copyright years. Update language files.Ian Lance Taylor2008-03-131-1/+1
|
* Rewrite workqueue. This version eliminates the master thread, andIan Lance Taylor2007-12-141-119/+50
| | | | reduces the amount of locking required to find a new thread to run.
* Fix comment.Ian Lance Taylor2007-12-061-2/+3
|
* Add threading support.Ian Lance Taylor2007-11-221-0/+266