Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!oliveb!amiga!boing!dale
From: dale@boing.UUCP (Dale Luck)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Library Opens/Closes (was IEEE libraries)
Message-ID: <404@boing.UUCP>
Date: 28 Sep 88 06:28:07 GMT
References: <8809250355.AA24098@cory.Berkeley.EDU>
Reply-To: dale@boing.UUCP (Dale Luck)
Organization: Boing, Milpitas, Ca.
Lines: 20

In article <8809250355.AA24098@cory.Berkeley.EDU> dillon@CORY.BERKELEY.EDU (Matt Dillon) writes:
>	
>	- While program bugs may cause a library's reference count to go
>	  negative, it occurs to me that this would be a great place to put
>	  a 'recoverable guru'... because a negative reference count 
>	  virtually assures the library will *never* be expunged anyway.

Only if the library were programmed to trigger on a negative reference
count and set an ignore expunge request flag.

Under normal circumstances, if the reference count has gone to
negative one, all it takes is two more opens and a single close and
expunge request to make the library go away. However some program still
will think it has it opened and the very next call it makes will
result it a disaster.
-- 
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.