diff options
| author | Alex Trotsenko <alex1973tr@gmail.com> | 2021-08-20 19:15:26 +0300 |
|---|---|---|
| committer | Alex Trotsenko <alex1973tr@gmail.com> | 2021-09-02 08:47:11 +0300 |
| commit | 5d68858ba78f485e19e2c36b15f86c8cc8435ff9 (patch) | |
| tree | 997ed53bc0360239a684daeb9fdab838325d13fe /examples/sql/sqlbrowser/browser.cpp | |
| parent | 9a4c98e55659b32db984612e6247ac193812a502 (diff) | |
QLocalSocket/Win: fix waitFor...() functions for write-only socket
There were several issues with the socket state checking when the pipe
reader is not running:
- the number of object handles in the WaitForMultipleObjectsEx()
call might have been zero;
- a call to the waitForDisconnected(-1) might have hung;
- we did not perform a loop iteration for the waitFor...(0) calls,
so disconnect detection was unreliable.
These issues are related to the same code, so they don't seem to be
addressable separately.
Change-Id: I3bca872bb4191e6a7d38a693d81f7981af7fe145
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Diffstat (limited to 'examples/sql/sqlbrowser/browser.cpp')
0 files changed, 0 insertions, 0 deletions
