Wireshark-commits: [Wireshark-commits] master 9d7d4c0: wsutil: Read stderr and stdout data asynchro

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 15 Apr 2019 04:09:26 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9d7d4c015c0e531e6090aebaa3fcc0ba1d6e12df
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

9d7d4c0 by Tomasz Moń (desowin@xxxxxxxxx):

    wsutil: Read stderr and stdout data asynchronously
    
    This significantly reduces the initialization time when system is using
    small pipe buffers. No time is lost on periodic process status checks as
    WaitForMultipleObjects() returns when the stdout/stderr data was read
    and/or when process finishes.
    
    Bug: 14657
    Change-Id: I61fabf986577db7102a3136df83d2d92c7156727
    Reviewed-on: https://code.wireshark.org/review/32773
    Petri-Dish: Anders Broman <a.broman58@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Tomasz Moń <desowin@xxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  1c4885d   make-usb.py: use octal escape sequences
     add  9d7d4c0   wsutil: Read stderr and stdout data asynchronously


Summary of changes:
 wsutil/ws_pipe.c | 218 +++++++++++++++++++++++++++++++++++++++++++++----------
 1 file changed, 178 insertions(+), 40 deletions(-)