Mercurial > gnulib
changeset 30332:1f1697279162
Add a comment.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 14 Oct 2008 03:54:08 +0200 |
parents | 41615db4a77d |
children | e12a85776011 |
files | ChangeLog lib/glthread/cond.c |
diffstat | 2 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Oct 14 03:43:12 2008 +0200 +++ b/ChangeLog Tue Oct 14 03:54:08 2008 +0200 @@ -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 Tue Oct 14 03:43:12 2008 +0200 +++ b/lib/glthread/cond.c Tue Oct 14 03:54:08 2008 +0200 @@ -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. */