* events.c (CreateEvent): When creating an auto-reset event that
is initially owned, make sure the set count starts at 1.
svn path=/trunk/mono/; revision=30137
+2004-06-22 Dick Porter <dick@ximian.com>
+
+ * events.c (CreateEvent): When creating an auto-reset event that
+ is initially owned, make sure the set count starts at 1.
+
2004-06-18 Dick Porter <dick@ximian.com>
* event-private.h:
event_handle->set_count = 0;
if(initial==TRUE) {
+ if (manual == FALSE) {
+ event_handle->set_count = 1;
+ }
+
_wapi_handle_set_signal_state (handle, TRUE, FALSE);
}