Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!apple!claris!ames!oliveb!amiga!boing!dale
From: dale@boing.UUCP (Dale Luck)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Negative Open Counts (was Re: IEEE libraries)
Keywords: open counts, re-enterency
Message-ID: <401@boing.UUCP>
Date: 25 Sep 88 17:29:45 GMT
References: <1356@percival.UUCP>  <1596@sbcs.sunysb.edu> <2643@sugar.uu.net> <1370@percival.UUCP>  <7193@well.UUCP>
Reply-To: dale@boing.UUCP (Dale Luck)
Distribution: na
Organization: Boing, Milpitas, Ca.
Lines: 27


In article <7193@well.UUCP> aleks@well.UUCP (Brian J. Witt) writes:
>[The line eater is dead-- the line eater is dead!!!]
>
>It seems that if you're going to open the math library and your runtime
>_may_ also open the math library, that you should keep track of your open
>seperate from the runtime library.

Balony, the runtime library should be keeping out of the way of the
main program. Fact is: this particular runtime library has a bug
in it. Let's not start writing code assuming the support system
has faults, let's get those faults corrected as the source instead
of bandaids in user code.

Each system should be responsible for releasing the resources it allocated.
If the user code always opens the ieee library, then the user code can
just always close that same library. If the runtime library was using
the global variable MathBase mistakenly as a flag to see if the
library was opened then get the runtime library fixed to either
always open/close the library or, use private flag to tell the RUNTIME
library that it needs to close a library that IT opened.

-- 
Dale Luck     Boing, Inc. {cbmvax|oliveb|pyramid}|!amiga!boing!dale
Although I do contract work for Amiga-LosGatos, my opinions probably
don't represent those of Commodore or its management or its engineers,
but I think the world would be a better place if they did.