Path: utzoo!utgpu!watmath!clyde!mcdchg!chinet!les From: les@chinet.chi.il.us (Leslie Mikesell) Newsgroups: comp.unix.questions Subject: Re: Shared Libraries -- experiences etc. Message-ID: <7617@chinet.chi.il.us> Date: 3 Feb 89 23:21:57 GMT References: <81584@felix.UUCP> <3747@ingr.com> Reply-To: les@chinet.chi.il.us (Leslie Mikesell) Organization: Chinet - Public Access Unix Lines: 15 In article <3747@ingr.com> crossgl@ingr.UUCP (Gordon Cross) writes: >In article <81584@felix.UUCP> martin@felix.UUCP (Martin McKendry) writes: >> o) Are semaphores the only appropriate technique for implementing >> mutual exclusion on small objects? For example, if I had a >> large number (say, 2000) of objects that were small (say, 20 bytes), >> and I wanted to put locks on each object. I'd like to know about this also. My first thought would be to map the objects into a file and use region locks on the file even if the object only exists in shared memory. Can anyone give details about the efficiency of the various IPC mechanisms? Les Mikesell