Linux进程间通信(IPC)编程实践(九)System V信号量---封装一个信号量操作的工具集
System信号量集主要API[cpp]viewplaincopy#include#include#includeintsemget(key_tkey,intnsems,intsemflg);intsemctl(intsemid,intsemnum,intcmd,...);intsemop(intsemid,structsembuf*sops,unsignednsops);semget[cpp]v