Mercurial > hg > octave-lyh > gnulib-hg
changeset 10641:5605b905052e
Add a comment.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 14 Oct 2008 03:54:08 +0200 |
parents | 07c6709d357e |
children | fad67b0c9edf |
files | ChangeLog lib/glthread/cond.c |
diffstat | 2 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-10-13 Bruno Haible <bruno@clisp.org> + + * lib/glthread/cond.c (glthread_cond_wait_func, + glthread_cond_timedwait_func): Add a comment. + 2008-10-13 Yoann Vandoorselaere <yoann@prelude-ids.org> * tests/test-poll.c: Include <sys/ioctl.h>, for ioctl().
--- a/lib/glthread/cond.c +++ b/lib/glthread/cond.c @@ -159,7 +159,8 @@ break; } - /* Take the lock again. */ + /* Take the lock again. It does not matter whether this is done + before or after the bookkeeping. */ err = glthread_lock_lock (lock); /* Do the bookkeeping. */ @@ -285,7 +286,8 @@ break; } - /* Take the lock again. */ + /* Take the lock again. It does not matter whether this is done + before or after the bookkeeping. */ err = glthread_lock_lock (lock); /* Do the bookkeeping. */