Home | History | Annotate | Download | only in gold

Lines Matching defs:Workqueue

0 // workqueue.cc -- the workqueue for gold
28 #include "workqueue.h"
29 #include "workqueue-internal.h"
102 Workqueue_threader_single(Workqueue* workqueue)
103 : Workqueue_threader(workqueue)
117 // Workqueue methods.
119 Workqueue::Workqueue(const General_options& options)
144 Workqueue::~Workqueue()
152 Workqueue::add_to_queue(Task_list* queue, Task* t, bool front)
179 Workqueue::queue(Task* t)
187 Workqueue::queue_soon(Task* t)
196 Workqueue::queue_next(Task* t)
205 Workqueue::should_cancel_thread(int thread_number)
212 // Token. The workqueue lock must be held when this is called.
215 Workqueue::find_runnable_in_list(Task_list* tasks)
234 // workqueue lock must be held when this is called.
237 Workqueue::find_runnable()
246 // we should exit. The workqueue lock must be held when this is
250 Workqueue::find_runnable_or_wait(int thread_number)
289 Workqueue::find_and_run_task(int thread_number)
304 // still holding the Workqueue lock.
341 // workqueue lock held. Get the next Task to run if any.
348 // be called while we are still holding the Workqueue lock.
392 // This function must be called with the Workqueue lock held.
397 Workqueue::return_or_queue(Task* t, bool is_blocker, Task** pret)
444 // called with the Workqueue lock held.
447 Workqueue::release_locks(Task* t, Task_locker* tl)
488 // Process all the tasks on the workqueue. Keep going until the
489 // workqueue is empty, or until we have been told to exit. This
493 Workqueue::process(int thread_number)
499 // Set the number of threads to use for the workqueue, if we are using
503 Workqueue::set_thread_count(int threads)
515 Workqueue::add_blocker(Task_token* token)