Keith.Gallie@FtCollins.NCR.COM (Keith Gallie) (11/20/90)
I am using the Co-routine library to model a system
where communication is done between tasks with queues.
(Much like the description in the AT&T C++ Translator
Library Manual - More About Queues:Cutting and Splicing)
My first problem is that I would like more references
and/examples. Anyone know/have any?
The second and more difficult problem has to do with the
man page warning. (Paraphrased) It says that some optimizing
compilers may inline a derived constructor. Due to the need for
stack frames this is not a good thing. If constructors are
inlined unpredictable behavior will result.
I am programming my current model on a Sun Sparcstation using
the default optimization in a makefile. If the model performs
well, the system will have to be ported to Sun3, Sun4, and
Apollo DN3XXX and Apollo DN4XXX. Possibly others. (No Req's
Doc as of yet)
Has anyone had any experience with unpredictable results?
Is there some way can be sure that the compiler will not
inline optimize my constructor? I know this is very subjective
but the constructors in the tasks will be fairly involved,
(300-1000 ines of code) will some real smart compiler be
able to inline optimize this?
E-mail is preferred. Mainly to see if it works.
Thank-you one and all.
--
Keith A. Gallie Keith.Gallie@FtCollins.NCR.COM
NCR MPD Fort Collins or
2001 Danfield Ct uunet!ncrlnk!ncr-mpd!bach!keithg
Fort Collins, CO 80525
"I get up around seven, get out of bed aroud nine" A. Rose
----------------------------------------------------------------------------
All thoughts, opinions, etc., are my own. Not that anyone listens to me.
----------------------------------------------------------------------------