From 0a51738ed9721654a75f22c0cf016f1df0eb905b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 23 May 1999 09:27:35 +0000 Subject: Correct example. --- linuxthreads/linuxthreads.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linuxthreads/linuxthreads.texi') 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 -- cgit v1.2.3