Code style fixes for FreeBSD support pull request.
This commit is contained in:
@@ -115,7 +115,7 @@ void Platform::setThreadPriority(int priority)
|
||||
|
||||
setpriority(PRIO_PROCESS, 0, prio);
|
||||
|
||||
#ifdef SCHED_IDLE
|
||||
# ifdef SCHED_IDLE
|
||||
if (priority == 0) {
|
||||
sched_param param;
|
||||
param.sched_priority = 0;
|
||||
@@ -124,5 +124,5 @@ void Platform::setThreadPriority(int priority)
|
||||
sched_setscheduler(0, SCHED_BATCH, ¶m);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
# endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user