Skip to content

Commit f58bb7d

Browse files
committed
fix dead links
1 parent 260bcb5 commit f58bb7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

threads.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@
249249
\texttt{sched\_yield} (this is POSIX function, unlike \texttt{pthread\_yield}).
250250
\item If the main thread does not wait for the thread to finish, the whole
251251
program will terminate even though there are still some threads running,
252-
see \example{pthreads/pthread\_create.c}
252+
see \example{pthreads/pthread-create.c}
253253
\item Be careful not to use this:
254254
\begin{alltt}
255255
for (i = 0; i < N; i++)
@@ -259,7 +259,7 @@
259259
It looks like we pass each thread its index. However, before the started thread
260260
gets scheduled to run, a next iteration might happen, modifying \texttt{i}.
261261
\item \hlabel{WRONG_USE_OF_ARG} Examples: \example{pthreads/wrong-use-of-arg.c},
262-
\example{pthreads/correct-use-of-arg.c}.
262+
\example{pthreads/correct-use-of-args.c}.
263263
\item If you need to pass only one value, you could use the following
264264
(\textbf{note that it is implementation specific in the C standard so it is not
265265
portable});

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy