From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/12482 Path: news.gmane.org!.POSTED!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: sched_setscheduler.c and mpd Date: Fri, 9 Feb 2018 02:59:54 +0100 Message-ID: <20180209015954.GY4418@port70.net> References: <36d103ae-7227-7d9b-e380-dd6e0109113e@wp.pl> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1518141509 2651 195.159.176.226 (9 Feb 2018 01:58:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 9 Feb 2018 01:58:29 +0000 (UTC) User-Agent: Mutt/1.9.1 (2017-09-22) To: musl@lists.openwall.com Original-X-From: musl-return-12498-gllmg-musl=m.gmane.org@lists.openwall.com Fri Feb 09 02:58:24 2018 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1ejxwx-0007d0-R3 for gllmg-musl@m.gmane.org; Fri, 09 Feb 2018 02:58:03 +0100 Original-Received: (qmail 24000 invoked by uid 550); 9 Feb 2018 02:00:06 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 23978 invoked from network); 9 Feb 2018 02:00:06 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: <36d103ae-7227-7d9b-e380-dd6e0109113e@wp.pl> Xref: news.gmane.org gmane.linux.lib.musl.general:12482 Archived-At: * Micha=C5=82 St=C4=99pie=C5=84 [2018-02-09 01:58:57 +010= 0]: > 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. >=20 > This is the discussion: > https://github.com/MusicPlayerDaemon/MPD/issues/218 >=20 > 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_setschedp= aram.html which is portable and behaves as required.