Update comment in tst_QLocalSocket::readBufferOverflow
QWindowsPipeWriter doesn't write in a separate thread anymore. Change-Id: Id978bfdfa2531be91cce94476ab9b0dff237bd61 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
This commit is contained in:
parent
6cacd19db5
commit
1534297323
@ -611,7 +611,7 @@ void tst_QLocalSocket::readBufferOverflow()
|
||||
serverSocket->write(buffer, dataBufferSize);
|
||||
#ifndef Q_OS_WIN
|
||||
// The data is not immediately sent, but buffered.
|
||||
// On Windows, the flushing is done asynchronously by a separate thread.
|
||||
// On Windows, the flushing is done by an asynchronous write operation.
|
||||
// However, this operation will never complete as long as the data is not
|
||||
// read by the other end, so the call below always times out.
|
||||
// On Unix, the flushing is synchronous and thus needs to be done before
|
||||
|
Loading…
x
Reference in New Issue
Block a user