-
Notifications
You must be signed in to change notification settings - Fork 41
/
pthreads.html
131 lines (109 loc) · 3.05 KB
/
pthreads.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<html>
<head>
<title>
PTHREADS - Posix Threads for Multiprocessing
</title>
</head>
<body bgcolor="#EEEEEE" link="#CC0000" alink="#FF3300" vlink="#000055">
<h1 align = "center">
PTHREADS <br> POSIX Threads for Multiprocessing
</h1>
<hr>
<p>
<b>PTHREADS</b>
is a directory of C++ programs which
illustrate the use of the POSIX thread libraries for
parallel programming.
</p>
<h3 align = "center">
Licensing:
</h3>
<p>
The computer code and data files described and made available on this web page
are distributed under
<a href = "../../txt/gnu_lgpl.txt">the GNU LGPL license.</a>
</p>
<h3 align = "center">
Languages:
</h3>
<p>
<b>PTHREADS</b> is available in
<a href = "../../c_src/pthreads/pthreads.html">a C version</a> and
<a href = "../../cpp_src/pthreads/pthreads.html">a C++ version</a>.
</p>
<h3 align = "center">
Related Data and Programs:
</h3>
<p>
<a href = "../../c_src/mpi/mpi.html">
MPI</a>,
C programs which
illustrate the use of the MPI parallel programming interface
for distributed memory systems.
</p>
<p>
<a href = "../../c_src/openmp/openmp.html">
OPENMP</a>,
C programs which
illustrate the use of the OpenMP application program interface
for carrying out parallel computatioins in a shared memory environment.
</p>
<h3 align = "center">
Reference:
</h3>
<p>
<ol>
<li>
David Butenhof,<br>
Programming with POSIX Threads,<br>
Addison Wesley, 1997,<br>
ISBN: 0201633922,<br>
LC: QA76.76.T55.B88.
</li>
<li>
Barbara Chapman, Gabriele Jost, Ruud vanderPas, David Kuck,<br>
Using OpenMP: Portable Shared Memory Parallel Processing,<br>
MIT Press, 2007,<br>
ISBN13: 978-0262533027,<br>
LC: QA76.642.C49.
</li>
<li>
Bradford Nichols, Dick Buttlar, Jacqueline Proulx Farrell,<br>
Pthreads Programming: A POSIX Standard for Better Multiprocessing,<br>
O'Reilly, 1996,<br>
ISBN: 1-56592-115-1.
</li>
</ol>
</p>
<h3 align = "center">
Examples and Tests:
</h3>
<p>
<b>DOT_PRODUCT</b> is an extensive example which shows how
the dot product of two vectors could be computed.
<ul>
<li>
<a href = "dot_product.cpp">dot_product.cpp</a>,
the program.
</li>
<li>
<a href = "dot_product.sh">dot_product.sh</a>,
commands to compile, link and run the program.
</li>
<li>
<a href = "dot_product_output.txt">dot_product_output.txt</a>,
the output file.
</li>
</ul>
</p>
<p>
You can go up one level to <a href = "../cpp_src.html">
the C++ source codes</a>.
</p>
<hr>
<i>
Last revised on 19 July 2008.
</i>
<!-- John Burkardt -->
</body>
</html>