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

#include <util_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 543 of file util_concurrency.h.

Constructor & Destructor Documentation

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

Definition at line 544 of file util_concurrency.h.

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

Definition at line 547 of file util_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: