From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a5449b9a03812b50 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-30 12:53:43 PST Path: archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.mathworks.com!cyclone.swbell.net!bos-service1.ext.raytheon.com!dfw-service2.ext.raytheon.com.POSTED!not-for-mail Message-ID: <3D46E7BA.80DC9C77@raytheon.com> From: Mark Johnson X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: GNAT documentation question References: <3D406C6B.9DE867E4@boeing.com> <5ee5b646.0207281028.607ea804@posting.google.com> <3D458108.A5D88B80@raytheon.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 30 Jul 2002 14:23:38 -0500 NNTP-Posting-Host: 192.27.48.39 X-Complaints-To: news@ext.ray.com X-Trace: dfw-service2.ext.raytheon.com 1028057024 192.27.48.39 (Tue, 30 Jul 2002 14:23:44 CDT) NNTP-Posting-Date: Tue, 30 Jul 2002 14:23:44 CDT Organization: Raytheon Company Xref: archiver1.google.com comp.lang.ada:27494 Date: 2002-07-30T14:23:38-05:00 List-Id: Simon Wright wrote: > > Mark Johnson writes: > > > [snip - enabling real time priorities on Linux] > > It used to be that you just had to run your (tasking) program as > root. I take it this has changed? probably in the same way that the > Solaris implementation changed (at around 3.13, I seem to remember) As you suggest, I expected to get real time priorities by setting the task priorities with pragma Priority and then running the program as root. That is necessary but not sufficient. The additional required step was to specify FIFO_Within_Priorities as the task dispatching policy. It was certainly not obvious from what we had read prior to reading the source code. --Mark