comp.lang.ada
 help / color / mirror / Atom feed
From: cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!howland.
Subject: Re: Question on tasking...
Date: 18 Aug 93 23:38:45 GMT	[thread overview]
Message-ID: <1993Aug19.013419@lglsun.epfl.ch> (raw)

In article <1993Aug10.144611.23993@evb.com>, jjh@evb.com (John Halper) writes:
|> I have a question in the following program,
|> 
|> procedure Main is
|>         task type Task_Type;
|>         type Task_Ptr is access Task_Type;
|>         Task_Instance : Task_Type;
|> begin
|>    block:
|>       begin
|>          Task_Instance := new Task_Type;
|>          Task_Instance := null;
|>       end;  -->  Does block wait until Task_Instance Terminates ????

No, it does not. The master of all tasks pointed to by the type Task_Ptr
is the procedure Main. (See LRM 9.4(2)).

|> end Main;
|> 
|> -- 
|> 
|> John Halper
|> jjh@evb.com

-- 
Mats Weber
e-mail: weber@lglsun.epfl.ch

             reply	other threads:[~1993-08-18 23:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-08-18 23:38 cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!howland. [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-08-10 23:00 Question on tasking Robert I. Eachus
1993-08-10 17:56 vnet.IBM.COM
1993-08-10 14:46 John Halper
replies disabled

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