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,start X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!f36g2000hsa.googlegroups.com!not-for-mail From: schwering@gmail.com Newsgroups: comp.lang.ada Subject: Blocking syscalls in Tasks Date: Sat, 27 Sep 2008 10:26:21 -0700 (PDT) Organization: http://groups.google.com Message-ID: <49dd14a0-73b9-44b4-a599-c86da7229c6c@f36g2000hsa.googlegroups.com> NNTP-Posting-Host: 217.232.124.2 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1222536381 21203 127.0.0.1 (27 Sep 2008 17:26:21 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 27 Sep 2008 17:26:21 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f36g2000hsa.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:2105 Date: 2008-09-27T10:26:21-07:00 List-Id: Hi there, I'm wondering whether a blocking system call like read() called via C interfacing in a task would block only the task or the complete process. Are tasks commonly implemented using threads and does the language specification request tasks to be in the user- or kernelspace? Or is there a real difference between tasks and threads? Greetings and thanks in advance Chris