linux进程间通信同步-共享内存
参考:https://www.cnblogs.com/charlesblc/p/6142868.html
使用有名信号量,sem_open()、sem_close()、sem_post()、sem_wait()
无名信号量: sem_init()、sem_destroy()、sem_wait()、sem_trywait()、sem_post();
一天一天的满足,即一天一天的堕落!
参考:https://www.cnblogs.com/charlesblc/p/6142868.html
使用有名信号量,sem_open()、sem_close()、sem_post()、sem_wait()
无名信号量: sem_init()、sem_destroy()、sem_wait()、sem_trywait()、sem_post();