4 SPDX-FileCopyrightText: 2005-2013 Mirko Boehm <[email protected]>
StateId stateId() const override
JobPointer applyForWork(Thread *th, bool wasBusy) override
Assign a job to an idle thread.
JobPointer applyForWork(Thread *thread, bool wasBusy) override
Assign a job to the calling thread.
Weaver * weaver() override
Provide correct return type for WeaverImpl states.
const State * state() const override
Return the state of the weaver object.
void waitForAvailableJob(Thread *th) override
Wait for a job to become available.
Thread represents a worker thread in a Queue's inventory.
void suspend() override
Suspend job processing.
void resume() override
Resume job processing.