3 #ifndef _MADARA_THREADS_THREADER_H_ 4 #define _MADARA_THREADS_THREADER_H_ 21 #include "madara/MADARA_export.h" 25 #include "madara_jni.h" 64 void change_hertz (
const std::string name,
double hertz);
115 bool paused =
false);
137 bool paused =
false);
155 void run (
const std::string name, jobject thread,
bool paused =
false);
176 void run (
double hertz,
const std::string name, jobject thread,
177 bool paused =
false);
196 void terminate (
void);
239 #endif // _MADARA_THREADS_THREADER_H_
NamedWorkerThreads threads_
the threads that are still active
Provides a quality-of-service-enabled threading library.
Abstract base class for implementing threads.
This class provides a distributed knowledge base to users.
knowledge::KnowledgeBase * control_
The control plane used by threads for termination and pause information.
Starts threads with first class support of MADARA contexts.
std::map< std::string, WorkerThread * > NamedWorkerThreads
Collection of named threads.
knowledge::KnowledgeBase * data_
The data plane used by threads.
Copyright (c) 2015 Carnegie Mellon University.
Encapsulates settings for a wait statement.