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: a07f3367d7,115bda8caeda5fa4,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.glorb.com!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Does GNAT support a thread-free RTS? Date: Sat, 10 Sep 2011 16:19:00 +0100 Organization: A noiseless patient Spider Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx04.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="3132"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+F8N7HvUbZ+Szatj9OITN9GXRQt6KciFQ=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (darwin) Cancel-Lock: sha1:BZptLFGpDP1Amo4z+2wAs3P9YWg= sha1:1lCgTN0X5HcL0TzSQ8r7oDz3FUg= Xref: g2news2.google.com comp.lang.ada:21860 Date: 2011-09-10T16:19:00+01:00 List-Id: 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. I don't see any trace of this in FSF GCC; has it gone for good? [1] http://en.wikipedia.org/wiki/Green_threads