Browse Source

Cleanup

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1230 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.59
sletz 19 years ago
parent
commit
50a70c51fb
1 changed files with 2 additions and 7 deletions
  1. +2
    -7
      windows/JackWinNamedPipeServerChannel.cpp

+ 2
- 7
windows/JackWinNamedPipeServerChannel.cpp View File

@@ -30,7 +30,7 @@ using namespace std;
namespace Jack
{

HANDLE JackClientPipeThread::fMutex = NULL; // never released....
HANDLE JackClientPipeThread::fMutex = NULL; // never released....

// fRefNum = 0 is used as a "running" state for the JackWinNamedPipeServerNotifyChannel object
// fRefNum = -1 correspond to a not running client
@@ -70,12 +70,7 @@ void JackClientPipeThread::Close() // Close the Server/Client connection
bool JackClientPipeThread::Execute()
{
JackLog("JackClientPipeThread::Execute\n");

if (HandleRequest(fPipe) < 0) {
return false;
} else {
return true;
}
return (HandleRequest(fPipe) == 0);
}

int JackClientPipeThread::HandleRequest(JackWinNamedPipeClient* pipe)


Loading…
Cancel
Save