changeset 30320:9379ed0f9f36

Comment.
author Bruno Haible <bruno@clisp.org>
date Sun, 12 Oct 2008 21:56:57 +0200
parents 3e462ff562dd
children 1da689534334
files lib/glthread/lock.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/glthread/lock.c	Sun Oct 12 15:13:06 2008 +0200
+++ b/lib/glthread/lock.c	Sun Oct 12 21:56:57 2008 +0200
@@ -726,6 +726,8 @@
       wq->array = new_array;
       wq->alloc = new_alloc;
     }
+  /* Whether the created event is a manual-reset one or an auto-reset one,
+     does not matter, since we will wait on it only once.  */
   event = CreateEvent (NULL, TRUE, FALSE, NULL);
   if (event == INVALID_HANDLE_VALUE)
     /* No way to allocate an event.  */