LuMing's blog

  • Home

  • Tags

  • Archives

进程通信-信号量

Posted on 2018-09-29 | Edited on 2019-04-18

语法

#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>

int semget(key_t key, int nsems, int semflg);

描述

semget() 系统调用返回 System V 系统中的一个信号量标识符并给参数key。

via: http://man7.org/linux/man-pages/man2/semget.2.html

感谢稀稀拉拉的赞赏
LuMing WeChat Pay

WeChat Pay

# 半吊子
进程通信的实现--管道
pip 的正确使用方法
  • Table of Contents
  • Overview

LuMing

57 posts
3 categories
11 tags
GitHub E-Mail
  1. 1. 语法
  2. 2. 描述
© 2020 LuMing
Powered by Hexo v3.9.0
|
Theme – NexT.Muse v6.3.0