Re: [sv-ec]E-mail Vote: Closes 12am PST October 10th 2007

From: Steven Sharp <sharp_at_.....>
Date: Thu Oct 11 2007 - 14:22:07 PDT
>From: Michael Burns <michael.burns@freescale.com>

>Friendly amendment: this sentence needs wordsmithing:
>
>13.4.5, 2nd sentence:
>"Thus, a process calling a function shall return immediately."
>
>I think I know what it's trying to say, but the wording seems wrong - processes 
>don't return. How about this:

It is trying to say that the process does not wait for the subprocesses
(which already follows from the definition of join_none).

I think when you say that processes don't return, you are saying that
you don't return from the process.  But you do return from the function
call, and it is the process that is doing that returning.  So the process
is returning (from the function call).

Perhaps the text could say

"Thus, a process calling a function shall return from it immediately."

However, there is a more general problem with the use of the word
"immediately".  If taken literally, it would imply returning before
executing the function.  The word "immediately" is a very strong one.
It does not imply "without any simulation time passing", or "without the
process blocking".  It implies "before anything else happens".  So it
implies that a process calling the function returns the moment it calls,
without executing the function first.

Steven Sharp
sharp@cadence.com


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Oct 11 14:22:25 2007

This archive was generated by hypermail 2.1.8 : Thu Oct 11 2007 - 14:22:45 PDT