MADNESS 0.10.1
Classes | Namespaces | Macros | Functions

Implements Dqueue, Thread, ThreadBase and ThreadPool. More...

#include <madness/world/thread_info.h>
#include <madness/world/dqueue.h>
#include <madness/world/function_traits.h>
#include <vector>
#include <cstddef>
#include <cstdio>
#include <pthread.h>
#include <type_traits>
#include <typeinfo>
#include <new>
#include <execinfo.h>
#include <cxxabi.h>
#include <sstream>
#include <cstring>
#include <tbb/task_arena.h>
#include <tbb/global_control.h>
#include <sys/types.h>
#include <sys/sysctl.h>
Include dependency graph for thread.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  madness::PoolTaskInterface::FunctionPointerGrabber< T >
 Object that is used to convert function and member function pointers into void*. More...
 
class  madness::PoolTaskInterface
 Lowest level task interface. More...
 
class  madness::PoolTaskNull
 A no-operation task used for various purposes. More...
 
class  madness::TaskAttributes
 Contains attributes of a task. More...
 
class  madness::profiling::TaskEvent
 Task event class. More...
 
class  madness::profiling::TaskEventList
 A list of task events. More...
 
class  madness::profiling::TaskEventListBase
 Task event list base class. More...
 
class  madness::profiling::TaskProfiler
 This class collects and prints task profiling data. More...
 
class  madness::TaskThreadEnv
 Used to pass information about the thread environment to a user's task. More...
 
class  madness::Thread
 Simplified thread wrapper to hide pthread complexity. More...
 
class  madness::ThreadBase
 Simplified thread wrapper to hide pthread complexity. More...
 
class  madness::ThreadBinder
 
class  madness::ThreadPool
 A singleton pool of threads for dynamic execution of tasks. More...
 
class  madness::ThreadPoolThread
 ThreadPool thread object. More...
 

Namespaces

namespace  madness
 Namespace for all elements and tools of MADNESS.
 
namespace  madness::profiling
 

Macros

#define TBB_PREVIEW_GLOBAL_CONTROL   1
 

Functions

void madness::error (const char *msg)
 
void madness::threadpool_wait_policy (WaitPolicy policy, int sleep_duration_in_microseconds=0)
 

Detailed Description

Implements Dqueue, Thread, ThreadBase and ThreadPool.

Macro Definition Documentation

◆ TBB_PREVIEW_GLOBAL_CONTROL

#define TBB_PREVIEW_GLOBAL_CONTROL   1