Ian Collins writes:
>
> I am trying to port an application that makes use of Unix shared memory
> (shmget/shmat...) and semaphores (semget/semctl...).
>
> I presume that I will have to rewrite the above using intrinsics for
> MPE/ix 5.5. Has anyone performed such a port, or does anyone have any
> pointers in the right direction.
Both the shmxxx() and semxxx() families exist natively on 5.5 within -lsvipc,
so no porting or rewriting should be needed, at least for the shared memory
stuff.
AFAIK, there aren't any standard non-prived intrinsics available to do the
same functionality.
I've personally used the shmxxx() functions and they seem to work OK, except
for a minor filename syntax bug in the related ftok() function that I describe
in:
http://www.cccd.edu/~markb/porting.html
--
Mark Bixby E-mail: [log in to unmask]
Coast Community College Dist. Web: http://www.cccd.edu/~markb/
District Information Services 1370 Adams Ave, Costa Mesa, CA, USA 92626-5429
Technical Support Voice: +1 714 438-4647
"You can tune a file system, but you can't tune a fish." - tunefs(1M)