diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-05-23 09:27:35 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-05-23 09:27:35 +0000 |
commit | 0a51738ed9721654a75f22c0cf016f1df0eb905b (patch) | |
tree | 4678cd82d63426d19edd9a6f83ba94073944ab05 /linuxthreads/linuxthreads.texi | |
parent | 4a8cdfd14683d9488daf9884dc58c60953bda09f (diff) | |
download | glibc-0a51738ed9721654a75f22c0cf016f1df0eb905b.tar.gz glibc-0a51738ed9721654a75f22c0cf016f1df0eb905b.tar.xz glibc-0a51738ed9721654a75f22c0cf016f1df0eb905b.zip |
Correct example.
Diffstat (limited to 'linuxthreads/linuxthreads.texi')
-rw-r--r-- | linuxthreads/linuxthreads.texi | 2 |
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 |