View Single Post

Member Since: Mar 15, 2011
Posts: 4
bobicanprogram is on a distinguished road

bobicanprogram is offline
This version of SIMPL compiles and runs on the Mac.

SIMPL Self Installing Archive

It turns out that in Linux you can attach to a shared memory segment that has been marked for destruction (once the last process detaches from it). However, on the Mac this is not permitted. This note buried in the shmctl documentation was the clue:

========= begin quote =========
Linux permits a process to attach (shmat()) a shared memory segment that has
already been marked for deletion using shmctl(IPC_RMID). This feature is not
available on other Unix implementations; portable applications should avoid
relying on it.
========= end quote ==========

At this point I still need help with my original problem which was to build an installable package for this stuff the Mac way.


QUOTE Thanks