CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ConcurrentWorkers< WorkerT >::Job< DataT > Struct Template Reference

#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...
 

Detailed Description

template<class WorkerT>
template<class DataT>
struct ConcurrentWorkers< WorkerT >::Job< DataT >

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.

Constructor & Destructor Documentation

template<class WorkerT>
template<class DataT >
ConcurrentWorkers< WorkerT >::Job< DataT >::Job ( const DataT &  data)
inlineexplicit

Definition at line 403 of file concurrency.h.

template<class WorkerT>
template<class DataT >
ConcurrentWorkers< WorkerT >::Job< DataT >::Job ( )
inline

Definition at line 406 of file concurrency.h.

Member Data Documentation

template<class WorkerT>
template<class DataT >
const DataT ConcurrentWorkers< WorkerT >::Job< DataT >::data
template<class WorkerT>
template<class DataT >
const bool ConcurrentWorkers< WorkerT >::Job< DataT >::is_death_sentence

The documentation for this struct was generated from the following file: