Browse Source

Cleanup.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4749 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/1.9.9.5
sletz 13 years ago
parent
commit
75699f9be1
3 changed files with 2 additions and 4 deletions
  1. +1
    -1
      windows/JackWinMutex.cpp
  2. +0
    -1
      windows/JackWinProcessSync.cpp
  3. +1
    -2
      windows/JackWinProcessSync.h

+ 1
- 1
windows/JackWinMutex.cpp View File

@@ -86,7 +86,7 @@ namespace Jack


bool JackWinMutex::Unlock() bool JackWinMutex::Unlock()
{ {
return(ReleaseMutex(fMutex) != 0);
return (ReleaseMutex(fMutex) != 0);
} }
bool JackWinCriticalSection::Lock() bool JackWinCriticalSection::Lock()


+ 0
- 1
windows/JackWinProcessSync.cpp View File

@@ -36,7 +36,6 @@ void JackWinProcessSync::LockedSignal()
if (res != WAIT_OBJECT_0) { if (res != WAIT_OBJECT_0) {
jack_error("JackWinProcessSync::LockedSignal WaitForSingleObject err = %d", GetLastError()); jack_error("JackWinProcessSync::LockedSignal WaitForSingleObject err = %d", GetLastError());
} }
if (!SetEvent(fEvent)) { if (!SetEvent(fEvent)) {
jack_error("JackWinProcessSync::LockedSignal SetEvent err = %d", GetLastError()); jack_error("JackWinProcessSync::LockedSignal SetEvent err = %d", GetLastError());
} }


+ 1
- 2
windows/JackWinProcessSync.h View File

@@ -30,8 +30,7 @@ namespace Jack
\brief A synchronization primitive built using a condition variable. \brief A synchronization primitive built using a condition variable.
*/ */


//class JackWinProcessSync : public JackWinMutex
class JackWinProcessSync : public JackWinCriticalSection
class JackWinProcessSync : public JackWinMutex
{ {


private: private:


Loading…
Cancel
Save