J
jgg
Guest
Hi All,
Reading the past postings on clocking blocks from Jonathan Bromley has
brought up an old question I've had about program blocks..
How far do the special properties of a program block extend?
1) If I call a blocking task in a package from a program block when do
the blocking statements in the task schedule?
2) If I new a class from a package and call into a member task from a
program block when do the blocking statements schedule?
3) Like in #2 except the task forks a thread - when do tasks called by
the thread schedule?
4) New a class in a program block, pass the class handle to a thread
started in a module and call a task member?
I can't find anything in the LRM that describes the scope of the
special scheduling caused by the program block.. It would make sense
to me if it was a property of the threads and their sub-threads
spawned by the program block - otherwise it is pretty much useless
when intermixed with classes through something like OVM.
Regards,
Jason
Reading the past postings on clocking blocks from Jonathan Bromley has
brought up an old question I've had about program blocks..
How far do the special properties of a program block extend?
1) If I call a blocking task in a package from a program block when do
the blocking statements in the task schedule?
2) If I new a class from a package and call into a member task from a
program block when do the blocking statements schedule?
3) Like in #2 except the task forks a thread - when do tasks called by
the thread schedule?
4) New a class in a program block, pass the class handle to a thread
started in a module and call a task member?
I can't find anything in the LRM that describes the scope of the
special scheduling caused by the program block.. It would make sense
to me if it was a property of the threads and their sub-threads
spawned by the program block - otherwise it is pretty much useless
when intermixed with classes through something like OVM.
Regards,
Jason