According to my research, there is a automatic cleanup mechanism on /dev/shm directory, made by systemd, with removeipc configuration.
- Will systemd remove my posix semaphores (under /dev/shm) at runtime of my application even if I don't unlink them according to its removeipc feature ?
- I don't want to change the systemd settings. So the systemV semaphore is a good alternative for me? I don't see but is there a automatic cleanup stuff on sysV ipc objects? Or should I continue with Posix semaphores?