CernVM-FS
2.12.0
|
#include <concurrency.h>
Public Member Functions | |
Job (const DataT &data) | |
Job () | |
Public Attributes | |
const DataT | data |
job payload More... | |
const bool | is_death_sentence |
death sentence flag More... | |
This is a simple wrapper structure to piggy-back control information on scheduled jobs. Job structures are scheduled into a central FIFO queue and are then processed concurrently by the workers.
Definition at line 402 of file concurrency.h.
|
inlineexplicit |
Definition at line 403 of file concurrency.h.
|
inline |
Definition at line 406 of file concurrency.h.
const DataT ConcurrentWorkers< WorkerT >::Job< DataT >::data |
job payload
Definition at line 409 of file concurrency.h.
Referenced by ConcurrentWorkers< WorkerT >::RunCallbackThread(), and ConcurrentWorkers< WorkerT >::RunWorker().
const bool ConcurrentWorkers< WorkerT >::Job< DataT >::is_death_sentence |
death sentence flag
Definition at line 410 of file concurrency.h.
Referenced by ConcurrentWorkers< WorkerT >::RunCallbackThread(), ConcurrentWorkers< WorkerT >::RunWorker(), and ConcurrentWorkers< WorkerT >::Schedule().