From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 26 Apr 92 19:14:26 GMT 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 Message-ID: <1992Apr26.191426.2341@iitmax.iit.edu> List-Id: 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