15 lines
448 B
Text
15 lines
448 B
Text
|
Index: src/utils/fluid_sys.c
|
||
|
--- src/utils/fluid_sys.c.orig
|
||
|
+++ src/utils/fluid_sys.c
|
||
|
@@ -429,8 +429,10 @@ fluid_thread_self_set_prio (int prio_level)
|
||
|
memset(&priority, 0, sizeof(priority));
|
||
|
priority.sched_priority = prio_level;
|
||
|
|
||
|
+// #if !defined(__OpenBSD__)
|
||
|
if (pthread_setschedparam (pthread_self (), SCHED_FIFO, &priority) == 0) {
|
||
|
return;
|
||
|
+// #endif
|
||
|
}
|
||
|
#ifdef DBUS_SUPPORT
|
||
|
/* Try to gain high priority via rtkit */
|