2014年11月24日

UNIX环境编程学习笔记(28)——多线程编程(三):线程的取消

摘要: lienhua342014-11-241 取消线程pthread 提供了pthread_cancel 函数用于请求取消同一进程中的其他线程。#include int pthread_cancel(pthread_t tid);返回值:若成功则返回0,否则返回错误编码pthread_cancel 调用... 阅读全文

posted @ 2014-11-24 23:55 lienhua34 阅读(1562) 评论(0) 推荐(0) 编辑

导航