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

From: Steven Sharp <sharp_at_.....>
Date: Thu Feb 16 2006 - 11:14:26 PST
>From: "Ambar Sarkar" <ambar.sarkar@paradigm-works.com>

>Is there a definition of the term "time consuming"? A fork/join none(not the
>others) is non time consuming as far as I understand.

The others are not "time consuming" either.  They block to wait for one or
all of their subprocesses to complete, but those subprocesses cannot consume
time before completing, so that blocking does not consume any time.

If you define "time consuming" to mean blocking to wait for something, even
if that cannot consume any time, then you are correct.  Both fork/join and
fork/join_any will block, while fork/join_none will not.

Steven Sharp
sharp@cadence.com
Received on Thu Feb 16 11:14:49 2006

This archive was generated by hypermail 2.1.8 : Thu Feb 16 2006 - 11:15:17 PST