Commit e6a75437 authored by sletz's avatar sletz
Browse files

Timeout for Windows named pipe (in progess).

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4752 0c269be4-1314-0410-8aa9-9f06e86f4224
parent fcb210e9
......@@ -137,10 +137,23 @@ int JackWinNamedPipeClient::Close()
}
void JackWinNamedPipeClient::SetReadTimeOut(long sec)
{}
{
COMMTIMEOUTS timeout;
if (GetCommTimeouts(fNamedPipe, &timeout)) {
jack_info("JackWinNamedPipeClient::SetReadTimeOut ReadIntervalTimeout = %d", timeout.ReadIntervalTimeout);
jack_info("JackWinNamedPipeClient::SetReadTimeOut ReadTotalTimeoutMultiplier = %d", timeout.ReadTotalTimeoutMultiplier);
jack_info("JackWinNamedPipeClient::SetReadTimeOut ReadTotalTimeoutConstant = %d", timeout.ReadTotalTimeoutConstant);
}
}
void JackWinNamedPipeClient::SetWriteTimeOut(long sec)
{}
{
COMMTIMEOUTS timeout;
if (GetCommTimeouts(fNamedPipe, &timeout)) {
jack_info("JackWinNamedPipeClient::SetWriteTimeOut WriteTotalTimeoutMultiplier = %d", timeout.WriteTotalTimeoutMultiplier);
jack_info("JackWinNamedPipeClient::SetWriteTimeOut WriteTotalTimeoutConstant = %d", timeout.WriteTotalTimeoutConstant);
}
}
JackWinAsyncNamedPipeClient::JackWinAsyncNamedPipeClient()
: JackWinNamedPipeClient(), fPendingIO(false), fIOState(kIdle)
......
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