add interface for scheduling priority
This commit is contained in:
12
examples/high_priority.cpp
Normal file
12
examples/high_priority.cpp
Normal 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
|
||||
|
||||
}
|
Reference in New Issue
Block a user