hmbdc
simplify-high-performance-messaging-programming
hmbdc
os
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
}}
hmbdc::os::ThreadConfigException
Definition:
Thread.hpp:8
hmbdc
Definition:
Base.hpp:12
Generated by
1.8.13