RE: [sv-bc] function task calling

From: Steven Sharp <sharp_at_.....>
Date: Sat Sep 08 2007 - 11:53:04 PDT
>Rather than a blanket prohibition on task enables in function
>definitions, should the prohibition in 13.4.b be weakened to only
>disallow enables of tasks with statements that would be illegal in a
>function?

Why?

This would require a messy analysis of the entire call graph.  And
with virtual method tasks, this analysis cannot even be done statically
unless you are willing to be very conservative.

Any task that satisfies these restrictions could be declared as a void
function instead.

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 Sat Sep 8 11:53:19 2007

This archive was generated by hypermail 2.1.8 : Sat Sep 08 2007 - 11:53:29 PDT