Shared Libraries -- experiences etc.
Leslie Mikesell
les at chinet.chi.il.us
Sat Feb 4 09:21:57 AEST 1989
In article <3747 at ingr.com> crossgl at ingr.UUCP (Gordon Cross) writes:
>In article <81584 at felix.UUCP> martin at 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
More information about the Comp.unix.questions
mailing list