Date: Fri, 9 Feb 2018 02:59:54 +0100 From: Szabolcs Nagy <nsz@...t70.net> To: musl@...ts.openwall.com Subject: Re: sched_setscheduler.c and mpd * Michał Stępień <mistepien@...pl> [2018-02-09 01:58:57 +0100]: > there is my discussion with developer of decent music player MPD. > In MPD there is real-time support but it does not work with musl. > > This is the discussion: > https://github.com/MusicPlayerDaemon/MPD/issues/218 > > I'm not programmer and I'm confused. the developer seems to want to set the scheduling policy for a thread and believes that the sched_setscheduler c api does this and that it is linux specific, this does not match my reading of the posix standard however you can try to recommend http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_setschedparam.html which is portable and behaves as required.
Powered by blists - more mailing lists
Powered by Openwall GNU/*/Linux - Powered by OpenVZ