linux进程间通信同步-共享内存时间:2023-03-09 09:28:47 参考: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();