posix ipc

消息队列 <mqueue.h>

mq_open /mq_close/mq_unlink

mq_getattr/mq_setattr

mq_send/mq_receive/mq_notify

信号量<semaphore.h>

sem_open/sem_close/sem_unlink

sem_init/sem_destroy

sem_wait/sem_trywait/sem_post/sem_getvalue

共享内存<sys/mman.h>

shm_oepn/shm_unlink

ftruncate/fstat 

mmap/munmap

原文地址:https://www.cnblogs.com/anjsoft/p/3258551.html