SyTen
threads.h File Reference

Threading configuration helpers. More...

#include <algorithm>
#include <sched.h>
+ Include dependency graph for threads.h:
+ This graph shows which files directly or indirectly include this file:

Namespaces

namespace  syten
 Syten namespace.
 
namespace  syten::Threading
 Threading-control variables and functions.
 

Functions

void syten::Threading::initThreadsEnv ()
 Initialises threading configuration from environment, called from SYTEN_BPO_INIT. More...
 
void syten::Threading::initThreadsLogic ()
 Initialises threading logic once we have the variables in place, called once from SYTEN_BPO_EXEC. More...
 
int omp_get_thread_num ()
 Only exists if OpenMP is disabled, returns always 0. More...
 

Detailed Description

Threading configuration helpers.