社区
Linux/Unix社区
帖子详情
pthread_cancel和pthread_exit有什么区别啊
huanghuanghuang
2005-03-09 09:03:53
rt
...全文
1586
4
打赏
收藏
pthread_cancel和pthread_exit有什么区别啊
rt
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
4 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
tengulre
2005-03-10
打赏
举报
回复
up
core
2005-03-10
打赏
举报
回复
2
cancel结束另外一个进程
exit结束自己
blankman
2005-03-10
打赏
举报
回复
#include <pthread.h>
int pthread_cancel(pthread_t thread);
pthread_cancel sends a cancellation request to the thread denoted by the thread argument.
------------------------------------------------
#include <pthread.h>
void pthread_exit(void *retval);
pthread_exit terminates the execution of the calling thread.
understand?
huanghuanghuang
2005-03-10
打赏
举报
回复
up
QNX环境下多线程编程
绍了QNX实时操作系统和多线程编程技术,包括线程间同步的方法、多线程程序的分析步骤、线程基本程序结构以及实用编译方法。
线程基本编程——线程函数大全.doc
有关线程编程需要使用的一些函数的简介...
p
thread
库文档
linux下的线程编程文档,包含p
thread
API
P
thread
多线程编程指南
多线程编程指南,SUN的P
thread
线程库手册,中文版的。
Linux Multiply
thread
programming(多线程编程初步)
Linux Multiply
thread
programming(多线程编程初步)
Linux/Unix社区
23,215
社区成员
74,540
社区内容
发帖
与我相关
我的任务
Linux/Unix社区
Linux/Unix社区 应用程序开发区
复制链接
扫一扫
分享
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章