Article View: comp.sys.amiga.tech
Article #9756Re: IEEE libraries
From: Dale Luck
Date: Sun, 11 Sep 1988 09:29
Date: Sun, 11 Sep 1988 09:29
25 lines
1775 bytes
1775 bytes
In article <b2tJd455u610103u.iI@amdahl.uts.amdahl.com> kevin@amdahl.uts.amdahl.com (Kevin Clague) writes:
>
>One solution that is not exactly elegant, and certainly doesn't solve
>all the problems is to at least make sure that when someone opens the
>IEEE libs the opencnt is at least one.
>
>If I run a broken program and it doubly closes the IEEE libs, then opencnt
>is -1. If I run this again then opencnt is < 1, at least force it to
>1. This may not handle all the cases, but might help in some.
>
I don't think this is a good idea. If the opencnt ever goes negative
because of too many Closes, it is clearly an error condition. The sooner
we find out about error conditions the better.
I believe some sort of report must be generated when the opencnt goes
negative. This would prevent the case of a negative open count causing
an expunge by having the library reopened and a subsequent expunge
call performed when we run out of memory.
--
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.
Technical Details
Message-ID:
<365@boing.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!ames!oliveb!amiga!boing!daleReferences:
<1356@percival.UUCP> <b03Kac9bnd10108qAIk@amdahl.uts.amdahl.com> <358@boing.UUCP> <1570@sbcs.sunysb.edu> <362@boing.UUCP> <b2tJd455u610103u.iI@amdahl.uts.amdahl.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!ames!oliveb!amiga!boing!dale From: dale@boing.UUCP (Dale Luck) Newsgroups: comp.sys.amiga.tech Subject: Re: IEEE libraries Keywords: IEEE Message-ID: <365@boing.UUCP> Date: 11 Sep 88 09:29:44 GMT References: <1356@percival.UUCP> <b03Kac9bnd10108qAIk@amdahl.uts.amdahl.com> <358@boing.UUCP> <1570@sbcs.sunysb.edu> <362@boing.UUCP> <b2tJd455u610103u.iI@amdahl.uts.amdahl.com> Reply-To: dale@boing.UUCP (Dale Luck) Distribution: na Organization: Boing, Milpitas, Ca. Lines: 24