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

From: Steven Sharp <sharp_at_.....>
Date: Tue Feb 21 2006 - 13:27:17 PST
>From: "Bresticker, Shalom" <shalom.bresticker@intel.com>

>The LRM says about join_none,
>"The parent process continues to execute concurrently with all the
>processes spawned by the fork. The spawned processes do not start
>executing until the parent thread executes a blocking
>statement."
>
>The parent thread is this initial block. Where does it execute a
>blocking statement? When do the threads in the fork...join_none execute?

I would say that you have found a hole in the specification.  It
should say "until the parent thread executes a blocking statement
or terminates."

Steven Sharp
sharp@cadence.com
Received on Tue Feb 21 13:27:23 2006

This archive was generated by hypermail 2.1.8 : Tue Feb 21 2006 - 13:28:28 PST