* sched_setscheduler.c and mpd @ 2018-02-09 0:58 Michał Stępień 2018-02-09 1:59 ` Szabolcs Nagy 0 siblings, 1 reply; 3+ messages in thread From: Michał Stępień @ 2018-02-09 0:58 UTC (permalink / raw) To: musl Hello, 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. Thanks ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: sched_setscheduler.c and mpd 2018-02-09 0:58 sched_setscheduler.c and mpd Michał Stępień @ 2018-02-09 1:59 ` Szabolcs Nagy 2018-02-09 2:58 ` Rich Felker 0 siblings, 1 reply; 3+ messages in thread From: Szabolcs Nagy @ 2018-02-09 1:59 UTC (permalink / raw) To: musl * Michał Stępień <mistepien@wp.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. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: sched_setscheduler.c and mpd 2018-02-09 1:59 ` Szabolcs Nagy @ 2018-02-09 2:58 ` Rich Felker 0 siblings, 0 replies; 3+ messages in thread From: Rich Felker @ 2018-02-09 2:58 UTC (permalink / raw) To: musl On Fri, Feb 09, 2018 at 02:59:54AM +0100, Szabolcs Nagy wrote: > * Michał Stępień <mistepien@wp.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. I followed up on the bug tracker. Rich ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-02-09 2:58 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2018-02-09 0:58 sched_setscheduler.c and mpd Michał Stępień 2018-02-09 1:59 ` Szabolcs Nagy 2018-02-09 2:58 ` Rich Felker
Code repositories for project(s) associated with this public inbox https://git.vuxu.org/mirror/musl/ This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).