Mercurial > hg > beaglert
comparison examples/d-box/prio.h @ 300:dbeed520b014 prerelease
Renamed projects to examples
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Fri, 27 May 2016 13:58:20 +0100 |
parents | projects/d-box/prio.h@8a575ba3ab52 |
children |
comparison
equal
deleted
inserted
replaced
297:a3d83ebdf49b | 300:dbeed520b014 |
---|---|
1 /* | |
2 * prio.h | |
3 * | |
4 * Created on: May 14, 2014 | |
5 * Author: Victor Zappi | |
6 */ | |
7 | |
8 #ifndef PRIO_H_ | |
9 #define PRIO_H_ | |
10 | |
11 | |
12 #include <pthread.h> | |
13 #include <sched.h> | |
14 #include <iostream> | |
15 | |
16 //----------------------------------------------------------------------------------------------------------- | |
17 // set maximum real-time priority to this thread | |
18 //----------------------------------------------------------------------------------------------------------- | |
19 void set_realtime_priority(int order); | |
20 //----------------------------------------------------------------------------------------------------------- | |
21 | |
22 #endif /* PRIO_H_ */ |