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,77efb4ab26922e3 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 28 Sep 2008 12:48:21 -0500 From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Blocking syscalls in Tasks References: X-Newsreader: Tom's custom newsreader Message-ID: Date: Sun, 28 Sep 2008 12:48:22 -0500 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 24.6.195.136 X-Trace: sv3-KUKvPV97gZEOj/fTf/GQ3M9ECRmK0c3GDcC48HVhDDAQwUJaL8d4a36KtkFcqoFjefd9YeVjpFQ3bKh!hDfiY17qYJIQU74hCZXSTN/BCH+YgNvkEZ2wA/1Wi2pPiU65ESUC1RGIt400ZY8KJYr9Uz727bBH!iRx8oHtqdjbtm3rXOnylfwN9BpAC X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 Xref: g2news1.google.com comp.lang.ada:2121 Date: 2008-09-28T12:48:22-05:00 List-Id: > Except for DOS in todays OS all Ada partitions are executed by native OS > threads. This is confusing. An Ada partition is not at all the same as an Ada task, and there's no guarantee that an Ada task maps 1-1 to an OS thread. > Now, in a GUI system, the RC_TASK (resource task) is blocked until a input > device such as the mouse or keyboard actives the thread. MS Windows tasks do not block waiting for mouse or keyboard. Windows "event based" GUI design was based on a single thread and a polling loop.