From 1ea184285eec782f90ecf4e77c854edfb0269e1b Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 2 Feb 2012 18:30:04 -0800 Subject: rt: Change the win32 event object to an auto-reset event The way I read the docs, having this be a manual reset event means that after the first time it's signalled it stays that way until reset, and we never, ever reset it. --- src/rt/sync/lock_and_signal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rt/sync') diff --git a/src/rt/sync/lock_and_signal.cpp b/src/rt/sync/lock_and_signal.cpp index e82e6dc51b7..f9d40681a60 100644 --- a/src/rt/sync/lock_and_signal.cpp +++ b/src/rt/sync/lock_and_signal.cpp @@ -18,7 +18,7 @@ lock_and_signal::lock_and_signal() : _holding_thread(INVALID_THREAD) { - _event = CreateEvent(NULL, TRUE, FALSE, NULL); + _event = CreateEvent(NULL, FALSE, FALSE, NULL); InitializeCriticalSection(&_cs); } -- cgit 1.4.1-3-g733a5