mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Subject: Re: sched_setscheduler.c and mpd
Date: Fri, 9 Feb 2018 02:59:54 +0100	[thread overview]
Message-ID: <20180209015954.GY4418@port70.net> (raw)
In-Reply-To: <36d103ae-7227-7d9b-e380-dd6e0109113e@wp.pl>

* 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.


  reply	other threads:[~2018-02-09  1:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-09  0:58 Michał Stępień
2018-02-09  1:59 ` Szabolcs Nagy [this message]
2018-02-09  2:58   ` Rich Felker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180209015954.GY4418@port70.net \
    --to=nsz@port70.net \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).