摘要: 信号量semaphore 信号量是一种允许进程进入睡眠的同步机制,信号量是一个计数器,支持两种原语即P 和V操作,也就是down 和up 操作, /* Please don't access any members of this structure directly */ struct semap 阅读全文
posted @ 2020-03-08 23:34 codestacklinuxer 阅读(290) 评论(0) 推荐(0)