RE: [sv-ec] RE: [sv-bc] Can a function contain a fork/join/any/none?

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Fri Feb 17 2006 - 02:21:27 PST
Who is the parent thread in this case? Could I argue that the parent
disappears and thus never reaches a blocking statement?

Shalom

> Note that fork/join_any is allowed to be executed in an order
> such
> that no subprocesses would be left behind.  All of the
> subprocesses,
> which contain no delays, could be executed before the parent
> resumes.
> However, the parent could also be executed after the first
> subprocess
> ends and before any of the other subprocesses are executed,
> leaving
> the subprocesses around when the function returns.
> 
> For fork/join_none, the rule that the child processes cannot
> run until
> the parent reaches a blocking statement ensures that they will
> always
> be left around after the function has returned.
> 
> Steven Sharp
> sharp@cadence.com
Received on Fri Feb 17 02:21:40 2006

This archive was generated by hypermail 2.1.8 : Fri Feb 17 2006 - 02:21:56 PST