comp.lang.ada
 help / color / mirror / Atom feed
From: cis.ohio-state.edu!math.ohio-state.edu!cs.utexas.edu!utah-morgan!hellgate .utah.edu!peruvian.cs.utah.edu!matwood@ucbvax.Berkeley.EDU  (Mark Atwood)
Subject: Re: Language runtime requirements (was Re: DoD
Date: 13 Aug 93 00:20:52 GMT	[thread overview]
Message-ID: <1993Aug12.182052.16792@hellgate.utah.edu> (raw)

In article <1993Aug12.224346.20541@scf.loral.com> bashford@srs.loral.com (Dave 
Bashford) writes:
>In article ... falis@ajpo.sei.cmu.edu (Edward Falis) writes:
>>...  For OS' that don't
>>provide lightweight processes, we generally map all tasks into a single
>>process.  ...
>
>So, why the problem with Unix ?  I've heard excuses like "it would be too
>inefficient."  But Unix/C has been using multi-tasking well for years.
>Besides, I'd take inefficient over useless any day.

I've used Alsys Ada on HPUX at work, and used a preemptive cthreads
on BSD at school for an OS class.  The problem I see with mapping Ada
tasks on UNIX processes is that UNIX processes are too independent.
Once a process starts, it doesn't share memory and doesn't have any
sync points with the parent that forked it until it exits.  Admittadly
it COULD be done using pipes and/or OS supplied shared memory or sync
resources, but it would be a major design pain.

Threads are a model of multiple tasks that are closely related.
Processes are a model of multiple virtual processors.

You could use one of the several Ada socket or distributed processing
packages to build a multi-process Ada system, but I don't think
tasks map to processes very well




-- 
Mark Atwood                  | My school and employer have too many problems
matwood@peruvian.cs.utah.edu | without being blamed for mine.

             reply	other threads:[~1993-08-13  0:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-08-13  0:20 Mark Atwood [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-08-17 14:27 Language runtime requirements (was Re: DoD David Emery
1993-08-16 22:07 agate!howland.reston.ans.net!spool.mu.edu!sgiblab!sgigate!sgi!fido.asd.sg
1993-08-16 20:06 David Emery
1993-08-13 16:15 cis.ohio-state.edu!news.sei.cmu.edu!ajpo.sei.cmu.edu!falis
1993-08-13 16:06 Mike Bates
1993-08-12 22:43 Dave Bashford
1993-08-12 20:13 magnesium.club.cc.cmu.edu!news.sei.cmu.edu!ajpo.sei.cmu.edu!falis
1993-08-12 14:44 David Tannen
replies disabled

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