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-Thread: 103376,115bda8caeda5fa4 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.68.28.231 with SMTP id e7mr427771pbh.5.1315814606342; Mon, 12 Sep 2011 01:03:26 -0700 (PDT) Path: m9ni4521pbd.0!nntp.google.com!news1.google.com!postnews.google.com!dq7g2000vbb.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Does GNAT support a thread-free RTS? Date: Mon, 12 Sep 2011 00:19:00 -0700 (PDT) Organization: http://groups.google.com Message-ID: <55587e8d-93c1-4753-ae8c-250b31e9eb64@dq7g2000vbb.googlegroups.com> References: NNTP-Posting-Host: 153.98.68.197 Mime-Version: 1.0 X-Trace: posting.google.com 1315814605 24773 127.0.0.1 (12 Sep 2011 08:03:25 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 12 Sep 2011 08:03:25 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: dq7g2000vbb.googlegroups.com; posting-host=153.98.68.197; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESRCNK X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101206 Red Hat/3.6-2.el5 Firefox/3.6.13,gzip(gfe) Xref: news1.google.com comp.lang.ada:17928 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2011-09-12T00:19:00-07:00 List-Id: J-P. Rosen wrote on comp.lang.ada: > Simon Wright a =E9crit : >> 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 The FSU threads library was a kind of green threads. The GNAT User's Guide of GCC 3.4 used to say: "The FSU threads package operates with all Ada tasks appearing to the system to be a single thread." -- Ludovic Brenta. The human resources streamline the executive talents, while the Quality Research results in a SWOT analysis from the get-go.