add interface for scheduling priority

This commit is contained in:
Carl Pearson
2019-10-01 06:55:50 -05:00
parent 343b2b35ca
commit bbda6e1262
6 changed files with 65 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
#include <iostream>
#include "perfect/priority.hpp"
int main(void) {
perfect::init();
PERFECT(perfect::set_high_priority());
// do things with high process scheduling priority
}