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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,88db7d38d464e3b1,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,CP1252 Received: by 10.68.227.230 with SMTP id sd6mr6780117pbc.8.1333725652635; Fri, 06 Apr 2012 08:20:52 -0700 (PDT) Path: r9ni25601pbh.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: mockturtle Newsgroups: comp.lang.ada Subject: In case you need to remember... Date: Fri, 6 Apr 2012 08:20:52 -0700 (PDT) Organization: http://groups.google.com Message-ID: <1984433.261.1333725652284.JavaMail.geo-discussion-forums@vbbfr18> NNTP-Posting-Host: 93.37.84.151 Mime-Version: 1.0 X-Trace: posting.google.com 1333725652 13239 127.0.0.1 (6 Apr 2012 15:20:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 6 Apr 2012 15:20:52 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=93.37.84.151; posting-account=9fwclgkAAAD6oQ5usUYhee1l39geVY99 User-Agent: G2/1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Date: 2012-04-06T08:20:52-07:00 List-Id: ...how nice is having tasks built-in in your preferred language, I just lan= ded over this text (Threads =97 Threat or Menace?) http://www.faqs.org/docs/artu/ch07s03.html#id2923889 Just an excerpt:=20 "Threads are a fertile source of bugs because they can too easily know to= o much about each others' internal states. There is no automatic encapsulat= ion, as there would be between processes with separate address spaces that = must do explicit IPC to communicate. Thus, threaded programs suffer from no= t just ordinary contention problems, but from entire new categories of timi= ng-dependent bugs that are excruciatingly difficult to even reproduce, let = alone fix." Hmm... Why do I have this warm and cozy feeling? :-)=20 BTW, a curiosity: does the Linux version of GNAT use threads to implement t= asks?=20 Riccardo