UNIX环境编程学习笔记(28)——多线程编程(三):线程的取消
摘要:lienhua342014-11-241 取消线程pthread 提供了pthread_cancel 函数用于请求取消同一进程中的其他线程。#include int pthread_cancel(pthread_t tid);返回值:若成功则返回0,否则返回错误编码pthread_cancel 调用...
阅读全文
posted @ 2014-11-24 23:55
posted @ 2014-11-24 23:55
posted @ 2014-11-09 23:42
posted @ 2014-11-09 00:51
posted @ 2014-11-05 23:19
posted @ 2014-11-03 22:51