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=0.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, PP_MIME_FAKE_ASCII_TEXT,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,115bda8caeda5fa4 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news3.google.com!feeder.news-service.com!newsfeed.straub-nv.de!news.ett.com.ua!not-for-mail From: anon@att.net Newsgroups: comp.lang.ada Subject: Re: Does GNAT support a thread-free RTS? Date: Sun, 11 Sep 2011 09:49:51 +0000 (UTC) Organization: ETT newsserver Message-ID: References: Reply-To: anon@anon.org NNTP-Posting-Host: dialup-4.225.174.139.dial1.dallas1.level3.net X-Complaints-To: usenet@news.ett.com.ua X-Notice: Filtered by postfilter v. 0.6.1 X-Newsreader: IBM NewsReader/2 2.0 Xref: g2news1.google.com comp.lang.ada:20894 Date: 2011-09-11T09:49:51+00:00 List-Id: Unless 2011 has change the default run-time library, When GNAT is installed the RTL is rts-native. Native uses the thread package of the underlying OS. "FSU threads library", "pthreads library" (Solaris only), "Zero-Cost Exceptions" ("ZCX"), and "setjmp/longjmp" ("SJLJ"), are optional if compiled, by using the "--RTS=" command line option. Note: "FSU threads library" provide a completely accurate implementation of Annex D. Since "Glade" was replaced, not sure if GNAT, still provide a true implementation of Annex D. In , "John B. Matthews" writes: >In article , "J-P. Rosen" >wrote: > >> Le 10/09/2011 17:19, Simon Wright a écrit : >> > It used to be that you could configure GNAT to use a tasking RTS that >> > didn't use threads; tasks were scheduled entirely within the RTS. I >> > think these may be called 'green threads'[1]. Of course, this meant that >> > blocking on I/O would block the whole program, but for some purposes it >> > might be ideal. >> > >> No, it used the FSU threads > >FSU threads were used to implement Ada tasking in Tenon's MachTen and >CodeBuilder products for Mac OS 9. > > > >-- >John B. Matthews >trashgod at gmail dot com >