comp.lang.ada
 help / color / mirror / Atom feed
From: jsa@alexandria (Jon S Anthony)
Subject: Re: Concurrency in Gnat 3.05?
Date: 1996/07/19
Date: 1996-07-19T00:00:00+00:00	[thread overview]
Message-ID: <JSA.96Jul19133310@alexandria> (raw)
In-Reply-To: 19960718.082642.172@satcom.whit.org


In article <4smktd$phu@masala.cc.uh.edu> cosc19z5@Bayou.UH.EDU (Spasmo) writes:

> Ok, Time slicing -- whatever :).  Still, with Linux I could easily
> write C programs that used time slicing on my processor courtesy

The point is that time slicing behavior is system dependent.  For
example, GNAT on Solaris maps tasks to threads and they will behave as
you were expecting (switching context for IO, etc.).  I believe that
GNAT for Linux will do this too (I think the P-threads impl to which
tasks are mapped on Linux are "real" threads in this sense - but I'm
not sure).  Actually, GNAT running on anything with native threads
will probably work this way.  For example, GNAT for Win95 and NT maps
tasks to Win95 and NT threads and this should again give you what you
expect.  Actually, that brings up another point.  Since you have Win95
why are you running the DOS version of GNAT under a DOS window instead
of just using the native Win95?

/Jon
-- 
Jon Anthony
Organon Motives, Inc.
1 Williston Road, Suite 4
Belmont, MA 02178

617.484.3383
jsa@organon.com





  parent reply	other threads:[~1996-07-19  0:00 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4sjqte$3mu@masala.cc.uh.edu>
1996-07-18  0:00 ` Concurrency in Gnat 3.05? Jerry van Dijk
1996-07-20  0:00   ` Robert Dewar
1996-07-20  0:00   ` Robert Dewar
1996-07-18  0:00 ` Robert Dewar
1996-07-19  0:00   ` Spasmo
1996-07-19  0:00     ` Tucker Taft
1996-07-18  0:00 ` Samuel Tardieu
1996-07-20  0:00   ` Robert Dewar
1996-07-20  0:00     ` Michael Feldman
1996-07-18  0:00 ` Robert Dunn
1996-07-19  0:00   ` Spasmo
1996-07-18  0:00     ` Robert Dewar
1996-07-20  0:00       ` Michael Feldman
1996-07-19  0:00   ` Jon S Anthony [this message]
1996-07-19  0:00     ` Robert Dewar
1996-07-20  0:00     ` Michael Feldman
1996-07-24  0:00     ` Jon S Anthony
1996-07-22  0:00   ` Jon S Anthony
1996-07-22  0:00   ` Jon S Anthony
1996-07-22  0:00   ` Jon S Anthony
1996-07-24  0:00     ` Michael Feldman
1996-07-24  0:00   ` Jon S Anthony
1996-07-18  0:00 ` Kevin J. Weise
1996-07-20  0:00 ` Michael Feldman
1996-07-20  0:00   ` Robert Dewar
1996-07-21  0:00   ` Jerry van Dijk
1996-07-24  0:00   ` Spasmo
replies disabled

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