about summary refs log tree commit diff
path: root/linuxthreads/linuxthreads.texi
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/linuxthreads.texi')
-rw-r--r--linuxthreads/linuxthreads.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/linuxthreads.texi b/linuxthreads/linuxthreads.texi
index 63657eb8ab..7a98103b3e 100644
--- a/linuxthreads/linuxthreads.texi
+++ b/linuxthreads/linuxthreads.texi
@@ -858,7 +858,7 @@ Modifications on @var{x} and @var{y} that may cause @var{x} to become greater th
 @smallexample
 pthread_mutex_lock(&mut);
 /* modify x and y */
-if (x > y) pthread_mutex_broadcast(&cond);
+if (x > y) pthread_cond_broadcast(&cond);
 pthread_mutex_unlock(&mut);
 @end smallexample