🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #9832

Re: Negative Open Counts (was Re: IEEE libraries)

#9832
From: Peter da Silva
Date: Sat, 17 Sep 1988 13:16
34 lines
1777 bytes
In article <1596@sbcs.sunysb.edu>, root@sbcs.sunysb.edu (root) writes:
> 	But then not all failure modes follow the example.

I disagree. I think that most of the time, given the way the Amiga is set up,
you would see this sort of failure mode. There are too many tasks popping
in and out. Why don't you SetFunction(OpenLibrary) and implement one of
your plans... and see what it does.

> 	My feeling on this (after watching the 20? messages fired off on
> 	the subject) is that a mix of Dale's and my original posting would
> 	provide satisfactory protection for now:  pop a recoverable
> 	requester on opencnt < 0; mark library permanent.

The only way to do this safely would be to track libraries on an ownership
basis (per-task/per-library). This would require some code changes.

> > 	"Fatal error; system halted"

> > 	"System error; some or all of your data may be destroyed
> > 	if you continue..."?

Neither. I want it to say:

	Fatal error: Library closed twice.
	This error occurred in ieee.library.
	The responsible task was probably Ray-Trace-4d.
	Click left mouse button to reset.
	Click right button to kill Ray-Trace-4d.

AT the very least, the GURU message should be replaced by something like
this.
-- 
		Peter da Silva  `-_-'  peter@sugar.uu.net
		 Have you hugged  U  your wolf today?
Technical Details
Message-ID: <2643@sugar.uu.net>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!sugar!peter
References: <1356@percival.UUCP> <b03Kac9bnd10108qAIk@amdahl.uts.amdahl.com> <1596@sbcs.sunysb.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!sugar!peter
From: peter@sugar.uu.net (Peter da Silva)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Negative Open Counts (was Re: IEEE libraries)
Keywords: open counts
Message-ID: <2643@sugar.uu.net>
Date: 17 Sep 88 13:16:56 GMT
References: <1356@percival.UUCP> <b03Kac9bnd10108qAIk@amdahl.uts.amdahl.com> <1596@sbcs.sunysb.edu>
Distribution: na
Organization: Sugar Land Unix - Houston, TX
Lines: 34