![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
多线程
stefmoon
走上技术的不归路-_-
展开
-
POSIX thread (pthread) 简介
一 概述 Pthread是一套通用的线程库, 它广泛的被各种Unix所支持, 是由POSIX提出的. 因此, 它具有很好的可移植性. 例1: /**//* ------ test.c ------- */ #include pthread.h> void *pp(vo转载 2010-04-11 11:17:00 · 879 阅读 · 1 评论 -
pthread_create用法
linux下用C开发多线程程序,Linux系统下的多线程遵循POSIX线程接口,称为pthread。#include int pthread_create(pthread_t *restrict tidp, const pthread_attr_t *restrict attr,转载 2010-04-10 09:53:00 · 1283 阅读 · 0 评论 -
C++中使用pthread的策略
本文链接:http://adebugger.cn/2009/11/how-to-use-pthread-in-cpp/作者:dweng 转载总是有问题,就发个链接吧.转载 2010-04-10 12:46:00 · 533 阅读 · 0 评论