annotate examples/10-Instruments/d-box/prio.h @ 556:ce391098f321 prerelease tip

THIS PROJECT HAS MOVED TO https://github.com/BelaPlatform/bela
author Giulio Moro <giuliomoro@yahoo.it>
date Sat, 25 Jun 2016 20:21:00 +0100
parents 8fcfbfb32aa0
children
rev   line source
robert@464 1 /*
robert@464 2 * prio.h
robert@464 3 *
robert@464 4 * Created on: May 14, 2014
robert@464 5 * Author: Victor Zappi
robert@464 6 */
robert@464 7
robert@464 8 #ifndef PRIO_H_
robert@464 9 #define PRIO_H_
robert@464 10
robert@464 11
robert@464 12 #include <pthread.h>
robert@464 13 #include <sched.h>
robert@464 14 #include <iostream>
robert@464 15
robert@464 16 //-----------------------------------------------------------------------------------------------------------
robert@464 17 // set maximum real-time priority to this thread
robert@464 18 //-----------------------------------------------------------------------------------------------------------
robert@464 19 void set_realtime_priority(int order);
robert@464 20 //-----------------------------------------------------------------------------------------------------------
robert@464 21
robert@464 22 #endif /* PRIO_H_ */