Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ames!amdahl!kevin
From: kevin@amdahl.uts.amdahl.com (Kevin Clague)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Negative Open Counts (was Re: IEEE libraries)
Keywords: open counts
Message-ID: 
Date: 19 Sep 88 15:21:54 GMT
References: <1356@percival.UUCP>  <1596@sbcs.sunysb.edu> <2643@sugar.uu.net> <1370@percival.UUCP>
Reply-To: kevin@amdahl.uts.amdahl.com (Kevin Clague)
Distribution: na
Organization: Amdahl Corporation,  Sunnyvale, CA 94086
Lines: 31

In article <1370@percival.UUCP> billc@percival.UUCP (William Coldwell) writes:
>
> Now, if we go back to when I asked WHY this was happening, I was told
> that it was a bug with Manx not doing CloseLibrary() correctly (actually
> it's just doing it very well twice).  This is due to a compiler problem,

I think the bug has to to with Manx's glue code for IEEE.  When you
compile for IEEE operands all the IEEE access routines eventually go to
one place, and check to see if the global variable that holds the IEEE
library base is NULL.  If not they try to open the library.  if this
fails, the machine crashes.  This is the bug, not Manx closing libraries
too many times.

A bug in Manx's IEEE glue routines makes Dale go off and change his
IEEE CloseLibrary() stuff?  Something smells fishy.  Like Manx'es or my
code.  Not the IEEE library.  William is right.  Fix my code, and Manxes
code.  Not the innocent bystander code.

I'm not against the library opens being tracked on a per task basis,
but I think that resource tracking should be addressed for everything
not just IEEE libraries.  I'd much rather see Commodore solve this
problem rather than talking about how to fix a Manx bug in the
IEEE libraries.
                                                   Kevin
-- 
UUCP:  kevin@amdahl.uts.amdahl.com
  or:  {sun,decwrl,hplabs,pyramid,seismo,oliveb}!amdahl!kevin
DDD:   408-737-5481
USPS:  Amdahl Corp.  M/S 249,  1250 E. Arques Av,  Sunnyvale, CA 94086

[  Any thoughts or opinions which may or may not have been expressed  ]
[  herein are my own.  They are not necessarily those of my employer. ]