pthread 的 api 分类
2024-08-31 13:08:15
pthreads defines a set of C programming language types, functions and constants. It is implemented with a pthread.h
header and a thread library.
There are around 100 threads procedures, all prefixed pthread_
and they can be categorized into four groups:
- Thread management - creating, joining threads etc.
- Mutexes
- Condition variables
- Synchronization between threads using read/write locks and barriers
The POSIX semaphore API works with POSIX threads but is not part of threads standard, having been defined in the POSIX.1b, Real-time extensions (IEEE Std 1003.1b-1993) standard. Consequently, the semaphore procedures are prefixed by sem_
instead of pthread_
.
https://en.wikipedia.org/wiki/POSIX_Threads
最新文章
- C# DataGridView绑定数据源
- Angularjs学习笔记(二)----模块
- js资源加载优化
- 利用hexo搭建博客
- Spring AOP 注解和xml实现 --转载
- 配置maven环境
- 匹配一级分类和二级分类 名字和url 里面有玄机
- android:layout_gravity=";bottom";不起作用问题
- leetcode Linked List Cycle II python
- Cppcheck软件使用
- Data Annotation
- JavaWeb-11 (JSP&;amp;EL表达)
- Facebook的ATOM Editor的底层Electron
- Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext
- pycharm中字体大小的调整方法
- 如何看待淘宝二手交易APP“闲鱼”推出的新功能“闲鱼小法庭”?
- xss攻击(转)
- 《JavaScript 高级程序设计》第二章:在HTML中使用JavaScript
- 火狐Firefox浏览器所有历史版本下载地址
- Josephus排列
热门文章
- Unity 自己旋转 方法
- [置顶]
 智能家居开源项目 The open Home Automation Bus (openHAB)
- NuSOAP笔记:如何创建复杂数据类型
- POJ 1743 [USACO5.1] Musical Theme (后缀数组+二分)
- IDEA快速搭建 SpringCloud 注册中心与
- ubuntu 12.04下安装Qt出现cannot execute binary file的解决方案
- linux下安装Tomcat和java jdk
- NOIP2018提高组省一冲奖班模测训练(三)
- echarts 设置x轴的和y轴的属性
- 每天学点Python之comprehensions