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,789b1b7142e884ff X-Google-Attributes: gid103376,public From: Charles Hixson Subject: Re: not really an Ada question Date: 2000/02/17 Message-ID: <38AC4175.DB5A9C18@earthlink.net>#1/1 X-Deja-AN: 587028164 Content-Transfer-Encoding: 7bit References: <88d88d$hnp$1@nnrp1.deja.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 950813069 198.94.156.19 (Thu, 17 Feb 2000 10:44:29 PST) Organization: EarthLink Network, Inc. MIME-Version: 1.0 NNTP-Posting-Date: Thu, 17 Feb 2000 10:44:29 PST Newsgroups: comp.lang.ada Date: 2000-02-17T00:00:00+00:00 List-Id: What are you doing in the spawned (ok, not task) process? If I remember correctly, whenever Win95 calls on a 16-bit system routine, it goes into single executable thread mode... I'm a bit vague on the details here (answering my question won't mean much to me!), but I am sure that there is only one 16-bit thread, that is shared by all of the 16-bit processes that are running. So you could easily be colliding with yourself if you make any system calls. Ehud Lamm wrote: > On Wed, 16 Feb 2000, Ehud Lamm wrote: > > |On Wed, 16 Feb 2000, Robert Dewar wrote: > | > ||Why doesn't GNAT.OS_Lib.Spawn do the job (don't overlook the > ||stuff in GNAT.*, there is useful stuff there :-) > || > | > |funny. I am a great fan of the GNAT.* packages. Strange I didn't think of > |checking there this time! I will, now! > > Well I tried using non_Blocking_Spawn - as this seems the thing I want, > right? I want the next spawn to work in such a way that the two programs > will work side by side. > > Well this is not what happens. > > To be concrete: the program I execute is a simple prgram create using > GNAT, toom that loops printing a word to the screen and delaying. > > I am pretty sure the issue here is how Windows works, not Ada - but any > clue will be recieved gratefully. > > Ehud Lamm mslamm@mscc.huji.ac.il > http://purl.oclc.org/NET/ehudlamm <== My home on the web > Check it out and subscribe to the E-List- for interesting essays and more!