您的位置:首页 > 其它

Unix 进程 线程 函数类比

2012-11-18 22:24 141 查看
进程ID用pid_t 数据类型表示

线程ID用pthread_t 数据类型表示



fork---pthread_create

exit---pthread_exit

waitpid---pthread_join

atexit---pthread_cancel_push

getpid---pthread_self

abort---pthread_cancel
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: