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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!v102.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!.POSTED!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: ACATS & dispatching priorities Date: Fri, 05 May 2017 18:45:12 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: NNTP-Posting-Host: shell02.theworld.com Mime-Version: 1.0 Content-Type: text/plain X-Trace: pcls7.std.com 1494024312 17337 192.74.137.72 (5 May 2017 22:45:12 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Fri, 5 May 2017 22:45:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:cyyKoGyjbTU6HHXzQzjmGEd0BUI= Xref: news.eternal-september.org comp.lang.ada:46675 Date: 2017-05-05T18:45:12-04:00 List-Id: Simon Wright writes: > Is anyone aware of GNAT limitations in this area? I found [1] ([2] is > prettier), and apparently Ceiling locking isn't supported on Linux. But > it should be OK on macOS??? I don't know about macOS or solaris. Ceiling locking is supported on Linux, but that support is fairly recent (I implemented it in the last few months or so). I think GNAT GPL 2016 doesn't have it. There was a version that supported ceiling locking on linux, but only if the process is running as root. Then, as decribed in the doc you quoted here: > [2] https://docs.adacore.com/gnat_rm-docs/html/gnat_rm/gnat_rm/implementation_of_specific_ada_features.html (search for "ceiling") there is now a version that also supports capabilities. You have to link with the right library, and you have to set the appropriate capability on the executable file (which requires being root), and then you can run that file without being root and get ceiling priority support. That doc describes the latest development version, available to AdaCore customers. I don't know how much other versions lag behind. - Bob