Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] master 9ae02a5: extcap: run --extcap-config in parallel to r

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 25 Nov 2018 07:10:51 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9ae02a5918380f79bee6622515d291e4bc26cb39
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

9ae02a5 by Peter Wu (peter@xxxxxxxxxxxxx):

    extcap: run --extcap-config in parallel to reduce startup time
    
    While --extcap-interfaces is now run in parallel, --extcap-config (for
    each discovered interface) would only run sequentially after that. Make
    sure that the latter command also fully parallel and do not wait for all
    extcap interfaces to be discovered first.
    
    This saves another 80ms startup time on Linux (unoptimized ASAN+Debug).
    
    Change-Id: I303fd8fda647b304d5bdaf048a3d1628ec9e02b4
    Ping-Bug: 15295
    Reviewed-on: https://code.wireshark.org/review/30773
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  c71f4d0   diameter: remove message length limiter
     add  9ae02a5   extcap: run --extcap-config in parallel to reduce startup time


Summary of changes:
 extcap.c | 316 +++++++++++++++++++++++++++++++++++++++++++++++++++------------
 1 file changed, 257 insertions(+), 59 deletions(-)