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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b180fbb5257e142f X-Google-Attributes: gid103376,public From: dewarr@my-dejanews.com Subject: Re: Native rts not working on linux (glibc) Date: 1998/11/12 Message-ID: <72evc1$l0$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 411094525 References: <717sfl$ple$1@nyheter.chalmers.se> <72e20a$8h5$1@nnrp1.dejanews.com> <72egna$6na$1@nyheter.chalmers.se> X-Http-Proxy: 1.0 x7.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Thu Nov 12 15:37:37 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1998-11-12T00:00:00+00:00 List-Id: In article <72egna$6na$1@nyheter.chalmers.se>, d96andgi@dtek.chalmers.se (Anders Gidenstam) wrote: > In article <72e20a$8h5$1@nnrp1.dejanews.com>, > drees@oto.dyn.ml.org writes: > > In article <717sfl$ple$1@nyheter.chalmers.se>, > > d96andgi@dtek.chalmers.se (Anders Gidenstam) wrote: > >> Hello! > > > > Hi! > > > >> When I compile programs that uses the native rts instead of the fsu rts, > >> they fail when I try to run them. > >> > >> [d96andgi@aragorn Test]$ ./greet2 > >> Failed Runtime Assertion : GNULLI failure---Set_Priority > > > > I get the same thing with the native package. > > I've received a reply explaining that problem... > You have to run your program as root since the rts tries to change > the scheduling-policy (or something similar...). > > That is clearly not very good, I've managed to cause a complete > system lockup when I trying some threaded Motif programs... > Ada 95 Annex D semantics require run-till-blocked with absolute priority control. The only way to achieve this in Linux is with real time threads under root mode, and yes, of course you can lock up your system this way! It sounds in any case as though the system is mis-built if you are getting these assertion errors. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own