Path: 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 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 `-_-' 'U` "Really, a video game is nothing more than a Skinner box." -- Peter Merel