1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00

Correct example.

This commit is contained in:
Ulrich Drepper
1999-05-23 09:27:35 +00:00
parent 4a8cdfd146
commit 0a51738ed9
2 changed files with 3 additions and 4 deletions

View File

@ -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