From: DANIEL BASS (BASSD++at++aaicorp.com)
Date: 01/12/2001 07:46:39
I don't understand. I could not find anything under pfMalloc and friends that
provides for semaphores and/or locks needed to protect shared memory from
simultaneous read/write access between two processes. The pfSharedMem
man page has calls to access the semaphore arena, but not individual semaphore
functions. It explicitly refers to usnewlock and usnewsema.
I do have an O2 running IRIX 6.5, would the man pages there accurately reflect
these routines as ported to Linux?
Thanks,
--daniel
>>> Tom Flynn <flynnt++at++engr.sgi.com> 01/11 4:26 PM >>>
On Wed, 10 Jan 2001, DANIEL BASS wrote:
> I just installed performer 2.4 on my Linux box (Dell 2x800Mhz PIII, nVidia GeForce 2 Ultra, RH 6.2, XFree86 4.0.2)
> and I have a few newbie questions about multiprocessing.
>
> There are references to using routines in ulocks.h (usnewlock, ...) for controlling access to shared memory,
> but I don't seem to have man pages on these routines. Where can I find said man pages?
On your IRIX box :). We implemented a number of the routines in ulocks.h
in order to get multiprocessed Performer up and running. Though not all
of them are implemented nor are they necessarily fully implemented.
They're implemented enough for Performer's use of them and that's it.
I seriously recommend using pfMalloc() and friends since those are
officially supported, rather than relying on their underlying calls.
...
hope that helps,
tom
-- "Mongooses are famous for their snake-fighting ability, and are almost always victorious because of their speed, agility, and timing and also because of their thick coat."
This archive was generated by hypermail 2b29 : Fri Jan 12 2001 - 10:43:53 PST