作业帮 > 综合 > 作业

英语翻译A new set of nsems semaphores is createdif key has the v

来源:学生作业帮 编辑:搜搜考试网作业帮 分类:综合作业 时间:2024/06/23 17:09:36
英语翻译
A new set of nsems semaphores is created
if key has the value IPC_PRIVATE or if no existing semaphore set is
associated with key and IPC_CREAT is specified in semflg.
英语翻译A new set of nsems semaphores is createdif key has the v
信号量集被建立的情况有两种:
  1.如果键的值是IPC_PRIVATE.
  2.或者键的值不是IPC_PRIVATE,并且键所对应的信号量集不存在,同时标志中指定IPC_CREAT.
具体的在网上找下semget用法就OK了