diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2018-05-08 15:04:32 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2018-05-26 19:42:34 +0000 |
commit | 5968a445e15640b6f63f150cd0c2e448051877c4 (patch) | |
tree | 9d3e5caea3a41d0639b75e2a333af62306a68c93 /src/corelib/serialization/qcborcommon.h | |
parent | 03ab94b0e7a549bcf839639438f782a47522ffa7 (diff) |
QProcess/Win: Use ConnectNamedPipe asynchronously and check return value
According to the documentation of ConnectNamedPipe we must pass an
OVERLAPPED object, because the passed handle was opened with
FILE_FLAG_OVERLAPPED.
Pass an OVERLAPPED object, and create a manual reset event that is
waited on if ConnectNamedPipe "fails" with ERROR_IO_PENDING.
Check the return type, and report any failure via qErrnoWarning.
Change-Id: Iedd702cecc2f0008eee6ed4f19d9370912190595
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/serialization/qcborcommon.h')
0 files changed, 0 insertions, 0 deletions