From a9bf022b6d70c5f3a55cf5b2a2b36a4a3f96da6c Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 12 Oct 2008 21:56:57 +0200 Subject: [PATCH] Comment. --- lib/glthread/lock.c | 2 ++ 1 file changed, 2 insertions(+) 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. */ -- 2.11.0