How about only allowing stacked variables in functions

From: Steve Meyer (sjmeyer@crl.com)
Date: Sun Jan 04 1998 - 21:47:10 PST


I suggest only allowing rentrant functions but not reentrant tasks.

It seems to me that allowing reentrant (stacked for each call) variables
in tasks is not a good idea because it interferes with disabling and
other scheduling features of tasks. I looked at adding this to Cver
and I think at the very least it is very difficult to implement.

Adding rentrant (as an option?) variables to functions is easy and does
not cause scheduling problems because by definition functions are executed
instantaneously. Also it seems to me the various needs for more programming
langugage features can be solved by writing reentrant functions.
/Steve

-- 
Steve Meyer				Phone: (415) 296-7017
Pragmatic C Software Corp.		Fax:   (415) 296-0946
220 Montgomery St., Suite 925		email: sjmeyer@crl.com
San Francisco, CA 94104


This archive was generated by hypermail 2.1.4 : Mon Jul 08 2002 - 12:52:45 PDT and
sponsored by Boyd Technology, Inc.