projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ooops, gen-65 is broken, not test-65.
[mono.git]
/
mono
/
io-layer
/
events.c
diff --git
a/mono/io-layer/events.c
b/mono/io-layer/events.c
index efb766f20ea40b7d0c9c74a2cab5f190ce7f344d..c99175dd34224c2e8c9cae062487d8fdd5041036 100644
(file)
--- a/
mono/io-layer/events.c
+++ b/
mono/io-layer/events.c
@@
-149,6
+149,10
@@
gpointer CreateEvent(WapiSecurityAttributes *security G_GNUC_UNUSED, gboolean ma
event_handle->set_count = 0;
if(initial==TRUE) {
+ if (manual == FALSE) {
+ event_handle->set_count = 1;
+ }
+
_wapi_handle_set_signal_state (handle, TRUE, FALSE);
}