MADARA  3.4.1
madara::threads Namespace Reference

Provides a quality-of-service-enabled threading library. More...

Classes

class  BaseThread
 Abstract base class for implementing threads. More...
 
class  JavaThread
 A facade for a user-defined Java thread class. More...
 
class  Threader
 Starts threads with first class support of MADARA contexts. More...
 
class  WorkerThread
 A thread that executes BaseThread logic. More...
 
class  WorkUnit
 Abstract base class for implementing base threads. More...
 

Typedefs

typedef std::map< std::string, std::unique_ptr< WorkerThread > > NamedWorkerThreads
 Collection of named threads. More...
 

Functions

void try_pthread_setname_np (...)
 
template<typename... Args>
auto try_pthread_setname_np (Args &&... args) -> decltype(pthread_setname_np(std::forward< Args >(args)...))
 

Detailed Description

Provides a quality-of-service-enabled threading library.

Typedef Documentation

◆ NamedWorkerThreads

typedef std::map<std::string, std::unique_ptr<WorkerThread> > madara::threads::NamedWorkerThreads

Collection of named threads.

Definition at line 205 of file WorkerThread.h.

Function Documentation

◆ try_pthread_setname_np() [1/2]

void madara::threads::try_pthread_setname_np (   ...)

Definition at line 120 of file WorkerThread.cpp.

◆ try_pthread_setname_np() [2/2]

template<typename... Args>
auto madara::threads::try_pthread_setname_np ( Args &&...  args) -> decltype(pthread_setname_np(std::forward<Args>(args)...))

Definition at line 113 of file WorkerThread.cpp.