Bela
Real-time, ultra-low-latency audio and sensor processing system for BeagleBone Black
 All Classes Files Functions Variables Typedefs Macros Groups
prio.h
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_ */