JayBeams  0.1
Another project to have fun coding.
Namespaces | Macros | Variables
thread_config.cpp File Reference
#include "jb/thread_config.hpp"
#include <jb/strtonum.hpp>
#include <sched.h>
#include <stdexcept>

Go to the source code of this file.

Namespaces

 jb
 The top-level namespace for the JayBeams library.
 
 jb::defaults
 Default values for configuration parameters.
 

Macros

#define JB_DEFAULT_thread_config_scheduler   "OTHER"
 
#define JB_DEFAULT_thread_config_priority   "MIN"
 
#define JB_DEFAULT_ignore_setup_errors   true
 

Variables

std::string jb::defaults::thread_config_scheduler = JB_DEFAULT_thread_config_scheduler
 
std::string jb::defaults::thread_config_priority = JB_DEFAULT_thread_config_priority
 
bool jb::defaults::ignore_setup_errors = JB_DEFAULT_ignore_setup_errors
 

Macro Definition Documentation

◆ JB_DEFAULT_ignore_setup_errors

#define JB_DEFAULT_ignore_setup_errors   true

Definition at line 19 of file thread_config.cpp.

◆ JB_DEFAULT_thread_config_priority

#define JB_DEFAULT_thread_config_priority   "MIN"

Definition at line 15 of file thread_config.cpp.

◆ JB_DEFAULT_thread_config_scheduler

#define JB_DEFAULT_thread_config_scheduler   "OTHER"

Definition at line 11 of file thread_config.cpp.