sysv

System V IPC vs POSIX IPC

妖精的绣舞 提交于 2019-11-26 09:15:49
问题 What are the differences between System V IPC and POSIX IPC ? Why do we have two standards ? How to decide which IPC functions to use ? 回答1: Both have the same basic tools -- semaphores, shared memory and message queues. They offer a slightly different interface to those tools, but the basic concepts are the same. One notable difference is that POSIX offers some notification features for message queues that Sys V does not. (See mq_notify() .) Sys V IPC has been around for longer which has a