Commit 75699f9b authored by sletz's avatar sletz
Browse files

Cleanup.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4749 0c269be4-1314-0410-8aa9-9f06e86f4224
parent 217b2cd3
......@@ -86,7 +86,7 @@ namespace Jack
bool JackWinMutex::Unlock()
{
return(ReleaseMutex(fMutex) != 0);
return (ReleaseMutex(fMutex) != 0);
}
bool JackWinCriticalSection::Lock()
......
......@@ -36,7 +36,6 @@ void JackWinProcessSync::LockedSignal()
if (res != WAIT_OBJECT_0) {
jack_error("JackWinProcessSync::LockedSignal WaitForSingleObject err = %d", GetLastError());
}
if (!SetEvent(fEvent)) {
jack_error("JackWinProcessSync::LockedSignal SetEvent err = %d", GetLastError());
}
......
......@@ -30,8 +30,7 @@ namespace Jack
\brief A synchronization primitive built using a condition variable.
*/
//class JackWinProcessSync : public JackWinMutex
class JackWinProcessSync : public JackWinCriticalSection
class JackWinProcessSync : public JackWinMutex
{
private:
......
Supports Markdown
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