Commit 5ed8d6e0 authored by simonmar's avatar simonmar

[project @ 2004-02-26 16:42:57 by simonmar]

Check result of SetEvent() for errors.
parent 062e2e42
......@@ -169,8 +169,10 @@ broadcastCondition ( Condition* pCond )
rtsBool
signalCondition ( Condition* pCond )
{
SetEvent(*pCond);
return rtsTrue;
if (SetEvent(*pCond) == 0) {
barf("SetEvent: %d", GetLastError());
}
return rtsTrue;
}
rtsBool
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment