Special synchronization job. Pushed with Sync and DeleteJobDeferred. With the latter, field JobToDelete will be given, otherwise this is nulled.
Definition at line 212 of file threadpool.inl.
Public Field Index: | |
Job * | JobToDelete |
Optionally a job to be deleted. | |
![]() | |
const std::type_info & | ID |
Public Method Index: | |
JobSyncer (Job *job) | |
virtual size_t | SizeOf () override |
![]() | |
Job (const std::type_info &id) | |
virtual | ~Job ()=default |
Protected destructor. | |
template<typename TJob> | |
TJob & | Cast () |
virtual bool | Do () |
template<typename TOther> | |
bool | Is () |
template<typename TOther> | |
bool | IsNull () |
virtual void | PrepareDeferredDeletion () |
Job* alib::threadmodel::ThreadPool::JobSyncer::JobToDelete |
Optionally a job to be deleted.
Definition at line 215 of file threadpool.inl.
|
inline |
Constructor.
job | The job that is scheduled to be deleted. |
Definition at line 219 of file threadpool.inl.
|
inlineoverridevirtual |
Overrides the parent function as necessary.
Reimplemented from alib::threadmodel::Job.
Definition at line 225 of file threadpool.inl.