• Tomasz Moń's avatar
    Do not pass pipe handle to WaitForMultipleObjects · 81504de5
    Tomasz Moń authored
    The Remarks section in WaitForMultipleObjects describes what kind of
    handles the function can wait for. Pipe handles are not listed there.
    
    The problem was introduced in c18459e66e8e71a8765bb9b8e2b3d2ba61855a3f
    
    While it might be possible to setup overlapped reads on the pipe handles
    and then wait on overlapped events, it would result in quite complex
    code. As a tradeoff, simply keep peeking at the pipes every 100 ms.
    
    Change-Id: I6ba4f4bf4c1d2af856027cca36ffd6d4f7f49f36
    Bug: 14657
    Reviewed-on: https://code.wireshark.org/review/29163
    Petri-Dish: Roland Knall <rknall@gmail.com>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: 's avatarRoland Knall <rknall@gmail.com>
    (cherry picked from commit 9ecc7906ef6a7c32217a2a8780d5374b0b5398de)
    Reviewed-on: https://code.wireshark.org/review/29167
    81504de5
Name
Last commit
Last update
..
.editorconfig Loading commit data...
CMakeLists.txt Loading commit data...
Makefile.am Loading commit data...
adler32.c Loading commit data...
adler32.h Loading commit data...
base32.c Loading commit data...
base32.h Loading commit data...
base64.c Loading commit data...
base64.h Loading commit data...
bits_count_ones.h Loading commit data...
bits_ctz.h Loading commit data...
bitswap.c Loading commit data...
bitswap.h Loading commit data...
buffer.c Loading commit data...
buffer.h Loading commit data...
cfutils.c Loading commit data...
cfutils.h Loading commit data...
clopts_common.c Loading commit data...
clopts_common.h Loading commit data...
cmdarg_err.c Loading commit data...
cmdarg_err.h Loading commit data...
color.h Loading commit data...
copyright_info.c Loading commit data...
copyright_info.h Loading commit data...
cpu_info.c Loading commit data...
cpu_info.h Loading commit data...
crash_info.c Loading commit data...
crash_info.h Loading commit data...
crc10.c Loading commit data...
crc10.h Loading commit data...
crc11.c Loading commit data...
crc11.h Loading commit data...
crc16-plain.c Loading commit data...
crc16-plain.h Loading commit data...
crc16.c Loading commit data...
crc16.h Loading commit data...
crc32.c Loading commit data...
crc32.h Loading commit data...
crc6.c Loading commit data...
crc6.h Loading commit data...
crc7.c Loading commit data...
crc7.h Loading commit data...
crc8.c Loading commit data...
crc8.h Loading commit data...
dot11decrypt_wep.c Loading commit data...
eax.c Loading commit data...
eax.h Loading commit data...
file_util.c Loading commit data...
file_util.h Loading commit data...
filesystem.c Loading commit data...
filesystem.h Loading commit data...
frequency-utils.c Loading commit data...
frequency-utils.h Loading commit data...
g711.c Loading commit data...
g711.h Loading commit data...
getopt_long.c Loading commit data...
getopt_long.h Loading commit data...
glib-compat.c Loading commit data...
glib-compat.h Loading commit data...
inet_addr.c Loading commit data...
inet_addr.h Loading commit data...
inet_ipv4.h Loading commit data...
inet_ipv6.h Loading commit data...
interface.c Loading commit data...
interface.h Loading commit data...
jsmn.c Loading commit data...
jsmn.h Loading commit data...
mpeg-audio.c Loading commit data...
mpeg-audio.h Loading commit data...
nstime.c Loading commit data...
nstime.h Loading commit data...
os_version_info.c Loading commit data...
os_version_info.h Loading commit data...
pint.h Loading commit data...
plugins.c Loading commit data...
plugins.h Loading commit data...
pow2.h Loading commit data...
privileges.c Loading commit data...
privileges.h Loading commit data...
processes.h Loading commit data...
report_message.c Loading commit data...
report_message.h Loading commit data...
rsa.c Loading commit data...
rsa.h Loading commit data...
sign_ext.h Loading commit data...
sober128.c Loading commit data...
sober128.h Loading commit data...
socket.h Loading commit data...
str_util.c Loading commit data...
str_util.h Loading commit data...
strnatcmp.c Loading commit data...
strnatcmp.h Loading commit data...
strptime.c Loading commit data...
strptime.h Loading commit data...
strtoi.c Loading commit data...
strtoi.h Loading commit data...
tempfile.c Loading commit data...
tempfile.h Loading commit data...
time_util.c Loading commit data...
time_util.h Loading commit data...
type_util.c Loading commit data...
type_util.h Loading commit data...
unicode-utils.c Loading commit data...
unicode-utils.h Loading commit data...
utf8_entities.h Loading commit data...
win32-utils.c Loading commit data...
win32-utils.h Loading commit data...
ws_cpuid.h Loading commit data...
ws_mempbrk.c Loading commit data...
ws_mempbrk.h Loading commit data...
ws_mempbrk_int.h Loading commit data...
ws_mempbrk_sse42.c Loading commit data...
ws_pipe.c Loading commit data...
ws_pipe.h Loading commit data...
ws_printf.h Loading commit data...
wsgcrypt.c Loading commit data...
wsgcrypt.h Loading commit data...
wsgetopt.h Loading commit data...
wsjsmn.c Loading commit data...
wsjsmn.h Loading commit data...
wspcap.h Loading commit data...
xtea.c Loading commit data...
xtea.h Loading commit data...