Commit 1d547fe2 authored by Max Kellermann's avatar Max Kellermann

thread/Util: set the SCHED_RESET_ON_FORK flag in SetThreadRealtime()

parent b52d8fbe
......@@ -78,7 +78,7 @@ SetThreadRealtime()
#ifdef __linux__
struct sched_param sched_param;
sched_param.sched_priority = 50;
sched_setscheduler(0, SCHED_FIFO, &sched_param);
sched_setscheduler(0, SCHED_FIFO|SCHED_RESET_ON_FORK, &sched_param);
#endif
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment