linux多线程编程

Linux多线程编程

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
www.chinaEDA.cn linux 多多多多多 1. Linux 下下下 多多 2. linux 下下 多多
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
www.chinaEDA.cn 1 多 Linux 多多多 下下 多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多 多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多 多多多多多多多多多多多多多多多多多多多多多多多多多多多 CPU 多多多
Background image of page 2
www.chinaEDA.cn 多多多多多多 多多多 多多多 多多多 多 多 多 1 多多多多多多多多
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
www.chinaEDA.cn 多多多多多多多多多多多多多多多多多多多多多多多多多 多 1 多多多多多多 多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多 多 2 多多多多多多 多多多多多多多多多多 多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多“多多多”多“多多多”多多多 多多多
Background image of page 4
www.chinaEDA.cn 2 下 linux 下下下下 多多多多多多多多多多多多多 linux 多多多多多多 Pthread 多多多多多多多多多多多 多多多多 POSIX 多多多多多多多多多多多多多
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
www.chinaEDA.cn 2.1 下下下下下下下 多多多多多多 pthread_create 多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多 多多 pthread_exit, 多多多多多多多多多多多多多多多多多多 exit 多多多多多多多 pthread_exit 多多 exit 多 多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多多 多 pthread_join 多多多多多多多多多多多多多 wait 多多多多多
Background image of page 6
www.chinaEDA.cn 多多多多多 #include <pthread.h> pthread_create(pthread_t *thread, pthread_attr_t *attr, void *(*start_routine)(void *), void *arg) thread 多多多多多多 attr 多多多多多多多 start_routine 多多多多多多多多多 arg 多多多多 start_routine 多多多
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
www.chinaEDA.cn 多多多多多
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/23/2011 for the course CS Linux taught by Professor Linfang during the Summer '06 term at Fudan University.

Page1 / 27

Linux多线程编程

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online