🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Static limits (Re: AmigaDos directory knowledge + (new) BENCHMARK I DID)

#2570
From: Peter da Silva
Date: Thu, 07 Dec 1989 02:19
20 lines
1498 bytes
In article <807@jc3b21.UUCP> fgd3@jc3b21.UUCP (Fabbian G. Dufoe) writes:
> You made the point very well.  It really is harder to share one filehandle
> among many files than to share one sigbit.

I've done both (share file descriptors and share sigbits), and I disagree.
The code I included (you did read it, didn't you) was more than just sharing
one FD. It automatically adjusted to the number of FDs available, and used
a LRU scheme to treat the available FDs as a cache. Just sharing *one* FH
is a lot easier.

Meanwhile, sharing sigbits is pretty scary stuff. Even with CloseWindowSafely
debugged, you can get GURUs pretty easily.

And there's no reason to limit SigBits. Ironically, select() on UNIX solves
the indeterminate bitmap problem...
-- 
Peter "Have you hugged your wolf today" da Silva <peter@sugar.hackercorp.com>
`-_-'
 'U` "Really, a video game is nothing more than a Skinner box."
       -- Peter Merel <pete@basser.oz>
Technical Details
Message-ID: <4685@sugar.hackercorp.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!brutus.cs.uiuc.edu!psuvax1!rutgers!bellcore!texbell!sugar!peter
References: <4669@sugar.hackercorp.com> <807@jc3b21.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!brutus.cs.uiuc.edu!psuvax1!rutgers!bellcore!texbell!sugar!peter
From: peter@sugar.hackercorp.com (Peter da Silva)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Static limits (Re: AmigaDos directory knowledge + (new) BENCHMARK I DID)
Message-ID: <4685@sugar.hackercorp.com>
Date: 7 Dec 89 02:19:31 GMT
References: <4669@sugar.hackercorp.com> <807@jc3b21.UUCP>
Reply-To: peter@sugar.hackercorp.com (Peter da Silva)
Organization: Sugar Land Unix - Houston
Lines: 20