POSIX Shared Memory: XSI or Realtime?

1.2k Views Asked by At

It appears that POSIX defines two different optional IPC APIs that provide shared memory: the XSI extension (shmget, shmctl, shmdt) and the Realtime option group (shm_open, shm_unlink). The documentation on opengroup for shmget says, in the Application Usage section, that if I write sofware that uses the XSI routines, it should be easily modified to use the routines in the Realtime extension.

Does this mean that the routines in the Realtime extension should be preferred, if available?

Is one set intended to eventually replace the other?

Which set is more 'future-proof'?

Regards, David

0

There are 0 best solutions below