Hi,
what is the actual semantics of smhctl(shmid, IPC_RMID, NULL) system
call? The current version of specification states that
IPC_RMID
Remove the shared memory identifier specified by shmid from the
system and destroy the shared memory segment and shmid_ds data
structure associated with it.
Does it mean that, if I delete a shared SYSV memory segment using the
above system call, it will be removed immediately (as it does on Solaris)
regardless of attached processes, or will it be deleted after the last
process detaches from it, as it is on Linux.
Which one is correct behaviour or does XSH specify that? Or is it
unspecified?
Thanks a lot in advance,
Dragan
--
Dr Dragan Cvetkovic, Soliton Inc., yyyyyy@xxxxxxxxxxx
To be or not to be is true. G. Boole No it isn't. L. E. J. Brouwer
|