Threads - PowerPoint PPT Presentation

About This Presentation
Title:

Threads

Description:

Threads have the ability to simultaneously take different execution paths ... However, many tasks handled by threads have sequences that must be done serially. ... – PowerPoint PPT presentation

Number of Views:79
Avg rating:3.0/5.0
Slides: 29
Provided by: abdya
Category:
Tags: threads

less

Transcript and Presenter's Notes

Title: Threads


1

Threads
Chapter 11 from the book Inter-process
Communications in Linux The Nooks Crannies by
John Shapley Gray Publisher Prentice Hall Pub
Date January 13, 2003
2
Topics
THREADS
3
Threads
THREADS
4
Thread Definition
THREADS
5
Thread Definition
THREADS
6
Thread Definition
THREADS
7
Thread Definition
THREADS
8
Thread Definition
THREADS
9
Thread Definition
THREADS
10
Thread Definition
THREADS
11
Thread Definition
THREADS
12
Thread Definition
THREADS
Figure 11.1. Conceptual communicationsmultiple
single-threaded processes versus a single process
with multiple threads.
13
Thread Definition
THREADS
14
Thread Definition
THREADS
15
Thread Definition
THREADS
16
Creating a Thread
THREADS
17
Creating a Thread
THREADS
Table 11.1. The pthread_create Library Function.
18
Creating a Thread
THREADS
19
Creating a Thread
THREADS
20
Exiting a Thread
THREADS
21
Exiting a Thread
THREADS
Table 11.2. The pthread_exit Library Function.
22
Basic Thread Management
THREADS
23
Basic Thread Management
THREADS
Table 11.3. The pthread_join Library Function.
24
Basic Thread Management
THREADS
25
Basic Thread Management
THREADS
26
Basic Thread Management
THREADS
27
Basic Thread Management
THREADS
Table 11.4. The pthread_detach Library Function.
28
Basic Thread Management
THREADS
Write a Comment
User Comments (0)
About PowerShow.com