From: Paul Graham (pgraham@cadence.com)
Date: Mon Mar 11 2002 - 08:38:26 PST
Precedence: bulk
The definitions of functions and tasks are unnecessarily divergent.
Section 10.2.1 says:
The first syntax shall begin with the keyword task, followed by the
optional keyword automatic, followed by a name for the task and a
semicolon, and ending with the keyword endtask. The keyword automatic
declares an automatic task that is reentrant with all the task
declarations allocated dynamically for each concurrent task entry.
While section 10.3.1 says:
The keyword automatic declares a recursive function with all the
function declarations allocated dynamically for each recursive call.
I think 10.3.1 should use "reentrant" instead of "recursive", since just
declaring a function "automatic" does not make it a recursive function.
Paul
This archive was generated by hypermail 2.1.4
: Mon Jul 08 2002 - 12:55:35 PDT
and
sponsored by Boyd Technology, Inc.