projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38b0018
)
Comment.
author
Bruno Haible
<bruno@clisp.org>
Sun, 12 Oct 2008 19:56:57 +0000
(21:56 +0200)
committer
Bruno Haible
<bruno@clisp.org>
Sun, 12 Oct 2008 19:56:57 +0000
(21:56 +0200)
lib/glthread/lock.c
patch
|
blob
|
history
diff --git
a/lib/glthread/lock.c
b/lib/glthread/lock.c
index 487d23d0543d6c9825649865892f05bb2f2548f9..eceaa3b03f315b4151fc3e536cc1e27e2a324dea 100644
(file)
--- 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. */