hmbdc
simplify-high-performance-messaging-programming
Thread.hpp
1 #include "hmbdc/Copyright.hpp"
2 #pragma once
3 #include <stdexcept>
4 
5 
6 namespace hmbdc { namespace os {
7 
8 struct ThreadConfigException : std::runtime_error {
9  using std::runtime_error::runtime_error;
10 };
11 
12 void
13 configureCurrentThread(char const*threadName, unsigned long cpumask
14  , char const* schepolicy = "SCHED_OTHER", int priority = 0);
15 
16 void
17 setCurrrentThreadSched(char const* schepolicy, int priority);
18 }}
Definition: Thread.hpp:8
Definition: Client.hpp:11