graesslin added a comment.

  In https://phabricator.kde.org/D7757#144415, @tcberner wrote:
  
  >                    ^
  >   /home/Tobias/git/kwin/main_wayland.cpp:452:38: error: use of undeclared 
identifier 'SCHED_RESET_ON_FORK'
  >       sched_setscheduler(0, SCHED_RR | SCHED_RESET_ON_FORK, &sp);
  >                                        ^
  >
  >
  > Yes, `SCHED_RESET_ON_FORK` is linux only:
  >  https://www.freebsd.org/cgi/man.cgi?query=sched_setscheduler
  
  
  do you know whether there is an alternative for BSD? If not, I'll have to 
disable that feature on BSDs to not leak the real time scheduler to all child 
processes.

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D7757

To: graesslin, #kwin, #plasma
Cc: tcberner, plasma-devel, kwin, bwowk, ZrenBot, progwolff, lesliezhai, 
ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart

Reply via email to