Path: utzoo!attcan!uunet!husc6!mailrus!ames!oliveb!amdahl!kevin From: kevin@amdahl.uts.amdahl.com (Kevin Clague) Newsgroups: comp.sys.amiga.tech Subject: Re: IEEE libraries Keywords: IEEE Message-ID: Date: 10 Sep 88 17:35:05 GMT References: <1356@percival.UUCP> <358@boing.UUCP> <1570@sbcs.sunysb.edu> <362@boing.UUCP> Reply-To: kevin@amdahl.uts.amdahl.com (Kevin Clague) Distribution: na Organization: Amdahl Corporation, Sunnyvale, CA 94086 Lines: 34 In article <362@boing.UUCP> dale@boing.UUCP (Dale Luck) writes: >In article <1570@sbcs.sunysb.edu> root@sbcs.sunysb.edu (root) writes: >>> >>> The one change we could make for V1.4 is have it GURU (recoverable?) >> >> No, please no more GURU conditions. It seems to be that a reasonable >> thing to do is when the count would go negative just mark the >> library as permanently open and ignore any further closes. > >ok, how about this. I give pm an arex port. And I also let pm display >messages sent to him via arex. When the library detects an illegal >condition it sends a string to pm and pm puts it up. The library itself >cannot put up the message since it does not open any other libraries, nor >does it have control over how much stack it was given. 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. >Dale Luck Boing, Inc. {cbmvax|oliveb|pyramid}|!amiga!boing!dale kev -- 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. ]