Skip to content
Snippets Groups Projects
Commit c932d7a3 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Attempt to set process priority on Windows

parent 280db54e
No related branches found
No related tags found
No related merge requests found
Pipeline #11590 passed
......@@ -123,6 +123,9 @@ static void run(ftl::Configurable *root) {
}
int main(int argc, char **argv) {
#ifdef WIN32
SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS);
#endif
std::cout << "FTL Vision Node " << FTL_VERSION_LONG << std::endl;
auto root = ftl::configure(argc, argv, "vision_default");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment