comp.lang.ada
 help / color / mirror / Atom feed
From: Charles Hixson <charleshixsn@earthlink.net>
Subject: Re: not really an Ada question
Date: 2000/02/17
Date: 2000-02-17T00:00:00+00:00	[thread overview]
Message-ID: <38AC4175.DB5A9C18@earthlink.net> (raw)
In-Reply-To: Pine.A41.3.96-heb-2.07.1000216154607.61938A-100000@pluto.mscc.huji.ac.il

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!





  parent reply	other threads:[~2000-02-17  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-15  0:00 not really an Ada question Ehud Lamm
2000-02-16  0:00 ` Robert Dewar
2000-02-16  0:00   ` Ehud Lamm
2000-02-16  0:00     ` Ehud Lamm
2000-02-17  0:00       ` Robert A Duff
2000-02-17  0:00       ` Charles Hixson [this message]
2000-02-17  0:00 ` not really an Ada question (long answer) DuckE
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox