1 #ifndef CMR_PROCESSOR_H_INCLUDED
2 #define CMR_PROCESSOR_H_INCLUDED
32 Processor(
const char* name,
const int nb_max_thread,
int min_thread);
33 Processor(
const int nb_max_thread,
int min_thread);
45 bool start(
const char* name,
int min_thread = 0,
int max_thread = 64);
52 bool submit(
const PAction& action);
72 void remove_from_submitted_action(
const PAction& action);
99 const AString& get_name()
const;
104 bool waitAction(
const PAction& action,
const int nTimeOut_ms = 0);
122 #endif //CMR_PROCESSOR_H_INCLUDED
Definition: ActionGroup.h:12
#define CMREXD
Definition: Compiler.h:22
Definition: Processor.cpp:30
AutoRef is a smart pointer on RefObject objects. AutoRef is templatized with the type of the pointed ...
Definition: AutoRef.h:86
bool(* ProcessFunction)(void *)
Definition: Processor.h:9
Definition: Processor.h:16