Linux 和 Windows多线程函数对应表
2015-06-24 18:03
471 查看
Linux Pthread API Windows SDK 库对应 API 线程: 创建 pthread_create CreateThread 退出 pthread_exit ThreadExit 等待 pthread_join WaitForSingleObject 互斥锁: 创建 pthread_mutex_init CreateMutex 销毁 pthread_mutex_destroy CloseHandle 加锁 pthread_mutex_lock WaitForSingleObject 解锁 pthread_mutex_unlock ReleaseMutex 条件: 创建 pthread_cond_init CreateEvent 销毁 pthread_cond_destroy CloseHandle 触发 pthread_cond_signal SetEvent 广播 pthread_cond_broadcast SetEvent/ResetEvent 等待 pthread_cond_wait/pthread_cond_timedwait SingleObjectAndWait
相关文章推荐
- RedHat Linux 安装JDK、Maven、Jboss
- Linux 基本操作练习
- Linux中长时间运行脚本或者命令
- linux下yum安装配置zabbix监控
- Linux内核中内存相关的操作函数-2
- Linux中grep
- 检查当前运行的Linux是在VM还是在实体机中的方法
- Linux内核中内存相关的操作函数-1
- linux下如何修改进程优先级
- centos怎么安装stardict词典
- Linux中实现无密码登陆----EXPECT
- 纯净的linux是没有装vim的,vim安装方式
- centos 系统优化
- Linux Min装机--开机启动synergy
- linux 下更改文件名编码方式
- linux 下更改文件名编码方式
- 每天进步一点点——linux——head
- centos安装xdebug
- Linux下防御/减轻DDOS***的方法
- 每天进步一点点——linux——less