From: Bruno Haible Date: Sun, 12 Oct 2008 19:56:57 +0000 (+0200) Subject: Comment. X-Git-Tag: v0.1~6853 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=a9bf022b6d70c5f3a55cf5b2a2b36a4a3f96da6c;p=gnulib.git Comment. --- diff --git a/lib/glthread/lock.c b/lib/glthread/lock.c index 487d23d05..eceaa3b03 100644 --- a/lib/glthread/lock.c +++ b/lib/glthread/lock.c @@ -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. */