Comment.
authorBruno Haible <bruno@clisp.org>
Sun, 12 Oct 2008 19:56:57 +0000 (21:56 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 12 Oct 2008 19:56:57 +0000 (21:56 +0200)
lib/glthread/lock.c

index 487d23d..eceaa3b 100644 (file)
@@ -726,6 +726,8 @@ gl_waitqueue_add (gl_waitqueue_t *wq)
       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.  */