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.3 required=5.0 tests=BAYES_00,LOTS_OF_MONEY, REPLYTO_WITHOUT_TO_CC 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-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!wn11feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!53ab2750!not-for-mail Newsgroups: comp.lang.ada From: anon@anon.org (anon) Subject: Re: Blocking syscalls in Tasks Reply-To: no to spamers (No@email.given.org) References: X-Newsreader: IBM NewsReader/2 2.0 Message-ID: Date: Tue, 30 Sep 2008 10:06:26 GMT NNTP-Posting-Host: 12.64.128.68 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1222769186 12.64.128.68 (Tue, 30 Sep 2008 10:06:26 GMT) NNTP-Posting-Date: Tue, 30 Sep 2008 10:06:26 GMT Organization: AT&T Worldnet Xref: g2news1.google.com comp.lang.ada:2156 Date: 2008-09-30T10:06:26+00:00 List-Id: Most people want to know about Ada-2005 not Ada-95, and the one and only vendor that supports the Ada-2005 is Adacore with GNAT. The information that I gave was based on that vendor's system. As for Janus/Ada, IBM and other Ada compilers to most they are outdated. Janus/Ada and other vendors have had time to rebuild there Ada system for XP, Vista and Linux using the Ada-2005 specs but for unknown reasons have chosen not too. Plus, Janus/Ada was written for Windows 95/98 and NT which are outdated and no longer supported by Microsoft. Note about outdated: If you call an internet provider, and say you using Windows 95/98, they will suggest you find another provider. Because, they say they no longer support any outdated OS. Even though the OS is still functional most people and companies do not want anything to do with an outdated software. Also, back in the late 90s using Windows 98, GNAT used threads that was based on Microsoft Windows job scheduler which gave a higher performance then the Intel cpu scheduler and threads. But as I say GNAT uses the OS native threads, that is, threads specified by the OS not the cpu. In , "Randy Brukardt" writes: >Probably because for Janus/Ada, pretty much everything you said about the >mapping of Ada tasks to threads is wrong. > >Janus/Ada still maps all tasks to one Windows thread. That was originally >supposed to be a temporary Q&D implementation, but for a variety of reasons >it never got replaced. Most obviously: other things needed work more >urgently than the tasking, which is quite efficient. Depending on your >circumstances, it might actually be faster than a threaded implementation. >(Our ultimate goal is to have both.) > >In any case, the point is that Ada doesn't say anything about the mapping of >tasks to OS threads: you simply have to ask your vendor. And, of course >blocking of system calls follows from that. > > Randy. > > >"anon" wrote in message >news:eBUDk.245076$102.150485@bgtnsc05-news.ops.worldnet.att.net... >> Each and every time you speak you CUT the post down Ada! >> WHY are you trying to KILL Ada! And I say nothing that is >> confusing except to those who hate Ada. >> >> An event thread is a blocked thread. See Microsoft Windows Documentation! >> LEARN before speaking! >> >> In , tmoran@acm.org writes: >>>> 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. >> > >