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,77efb4ab26922e3 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!x35g2000hsb.googlegroups.com!not-for-mail From: schwering Newsgroups: comp.lang.ada Subject: Re: Blocking syscalls in Tasks Date: Sat, 27 Sep 2008 13:02:34 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <49dd14a0-73b9-44b4-a599-c86da7229c6c@f36g2000hsa.googlegroups.com> <905b1e30-a0a3-4986-ac50-b5dfc1f21ba6@k30g2000hse.googlegroups.com> NNTP-Posting-Host: 217.232.124.2 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1222545755 18012 127.0.0.1 (27 Sep 2008 20:02:35 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 27 Sep 2008 20:02:35 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: x35g2000hsb.googlegroups.com; posting-host=217.232.124.2; posting-account=y9dSXwoAAADUXkx2wJcqwCZIgXE_Pk9i User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.2) Gecko/2008091618 Firefox/3.0.2,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:2109 Date: 2008-09-27T13:02:34-07:00 List-Id: On 27 Sep., 20:58, Hibou57 (Yannick Duch=EAne) wrote: > I've tryed to check for a reliable references, and found something > which may help you to make some assertion. It seems that it is thread/ > task blocking rather than process blocking. This is based on mail > exchanged by developpers of the Linux kernel. It is dated Sun, 12 Aug > 2007, so do not make assertion using this about too much old kernels > (you did not say what kernel version you use, neither if it is a > vanilla one or not) > > Here is the link to the mail at the LKML mail archives :http://lkml.org/l= kml/2007/8/12/102 Hi, I think this only refers to the Linux kernel's threads. As far as I know (I'm far from being an expert in threads..), in kernelspace threads, a syscall does not block the entire process but only the calling thread. In fact, this is the main advantage over userspace threads. I don't know whether Ada tasks necessarily are threads and whether it is specified whether they are kernel- or userspace threads or some hybrid stuff. Chris