Matthew Heaney a �crit dans le message : 383733d3_1@news1.prserv.net... > [...] > Now, suppose we wanted to activate the task earlier than that. Let's > declare O in a nested package: > > procedure Main is > package P is > task O is ...; > end; > package body P is > task body O is ...; > end; > begin > > end; > > > Does task O activate when > > 1) the elaboration of nested package P completes (hit the begin part of > P's body); that is, prior to hitting the begin part of Main. Or, Yes > 2) no, the nesting doesn't matter, and O still activates when you hit > the begin part of procedure Main. > No. But you may be confused by the fact that in this case, the ACTIVATOR is P, but the MASTER is Main. IOW, the task starts right after you pass the "begin" of P, but Main will wait for the termination of O. -- --------------------------------------------------------- J-P. Rosen (Rosen.Adalog@wanadoo.fr) Visit Adalog's web site at http://pro.wanadoo.fr/adalog