comp.lang.ada
 help / color / mirror / Atom feed
From: cis.ohio-state.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!l inac!uchinews!iitmax!elof!janiadi@ucbvax.Berkeley.EDU  (Aditya Jani)
Subject: Re: Tasks in Ada
Date: 26 Apr 92 19:14:26 GMT	[thread overview]
Message-ID: <1992Apr26.191426.2341@iitmax.iit.edu> (raw)

What happens if we have Tasks without any entries ?

The tasks are instanstiated when the task body
is elobrated .
If there are more then one tasks I think
the implementation decides which task starts first
and then the tasks are inter-leaved (including the implicit main task).

Is it possible to provide mutual exclusion and synchronization
to these tasks using pragma shared on a integer variable and
using it as a semaphore?
Would it depend on how implementation deals with tasks 
(multi-tasking or time-slicing)?

Jani

             reply	other threads:[~1992-04-26 19:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-04-26 19:14 cis.ohio-state.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!l [this message]
  -- strict thread matches above, loose matches on Subject: below --
1992-04-30 17:24 Tasks in Ada rlk
1992-04-24 20:15 Tasks in ADA rlk
1992-04-22  3:57 news.u.washington.edu!milton.u.washington.edu!mfeldman
1992-04-18  1:31 bmk Bradley Kuhn
replies disabled

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