# HG changeset patch # User Bruno Haible # Date 1223841417 -7200 # Node ID fc3e861affff08b1090b43f80ddde13694228051 # Parent b40075443afa2eb7acd590086038a8c639b98431 Comment. diff --git a/lib/glthread/lock.c b/lib/glthread/lock.c --- a/lib/glthread/lock.c +++ b/lib/glthread/lock.c @@ -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. */