A visitor object for the worker pool. Allows the user to be notified at particular points during the WorkerPool's lifetime.
More...
#include <MicroSchedulerTypes.h>
A visitor object for the worker pool. Allows the user to be notified at particular points during the WorkerPool's lifetime.
◆ onThreadExit()
virtual void gts::WorkerPoolVisitor::onThreadExit |
( |
OwnedId |
workerId | ) |
|
|
inlinevirtual |
Called when a Worker thread is destroyed.
- Parameters
-
workerId | A combination of the local Worker ID and the ID of the WorkerPool that owns it. |
◆ onThreadStart()
virtual void gts::WorkerPoolVisitor::onThreadStart |
( |
OwnedId |
workerId | ) |
|
|
inlinevirtual |
Called when a Worker thread is created.
- Parameters
-
workerId | A combination of the local Worker ID and the ID of the WorkerPool that owns it. |