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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ab2ba9c5d12b0f12 X-Google-Attributes: gid103376,public From: jerry@jvdsys.nextjk.stuyts.nl (Jerry van Dijk) Subject: Re: Concurrency in Gnat 3.05? Date: 1996/07/18 Message-ID: #1/1 X-Deja-AN: 169709294 references: <4sjqte$3mu@masala.cc.uh.edu> organization: JerryWare HQ, Haarlem, Holland newsgroups: comp.lang.ada Date: 1996-07-18T00:00:00+00:00 List-Id: Spasmo (cosc19z5@Bayou.UH.EDU) wrote: : Is Gnat 3.05 (for DOS) truly concurrent when executing tasks? The theoretical answer is: no, of course not, if you are running on a single processor. But what you probably wanted to ask is: does GNAT/DOS do multi-tasking ? The answer, yes. But not pre-emptive tasking, what seems to be what you expected, but cooperative tasking. > I'm : asking because I've written some tasking code (finally got it : to link) and when I ran the code, the tasks didn't run : concurrently at all. I'm running in a Win95 DOS box. I'm not using Win95 but when I was playing around with the tasking like that I sprinkeled it with small delay statements to ask for a task switch... : or would I have to look for a : GNAT that's native to something like WinNT/95 that can : handle multi-tasking? You might, but I am not sure if the Win/NT version will map to native threads under Win95. -- ----------------------------------------------------------------------- -- Jerry van Dijk -- e-mail: jerry@jvdsys.nextjk.stuyts.nl -- -- Banking Consultant -- Member Team-Ada -- -- Ordina Finance BV -- Located at Haarlem, The Netherlands --