[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wireshark-dev
Subject:    Re: [Wireshark-dev] Clean up the "--enable-threads"
From:       Anders Broman <a.broman () telia ! com>
Date:       2010-11-23 23:01:34
Message-ID: 4CEC47CE.8050905 () telia ! com
[Download RAW message or body]

Michael Tüxen skrev 2010-11-23 21:10:
> On Nov 23, 2010, at 8:59 PM, Gerald Combs wrote:
>
>> Anders Broman wrote:
>>> Hi,
>>> Reading up on treads I came across the following
>>> _http://www.wireshark.org/lists/wireshark-users/200906/msg00209.html_
>>>
>>> And _http://www.wireshark.org/lists/wireshark-dev/200611/msg00199.html_
>>>> we used to have 2 threads in the old ethereal for a short period. one
>>> thread for the main application and a second thread that was dedicated
>>> to only
>>>> update/redraw teh statistics taps once every few seconds. this did
>>> cause a quite significant degradation in performance/speed of ethereal
>>> which is why>it was removed :-(
>>>
>>> However it looks like dumpcap uses threads on Windows would it be
>>> beneficial for dumpcap to use threads on other systems as well?
>>> Anyway it sounds like the tread code in Main.c should be removed -
>>> right? Then threads could be enabled by default(?)
>> Dumpcap uses threads on Windows to get around the inability to use
>> select/WaitForSingleObject on a pipe. It might be beneficial to have
>> common code on other systems.
> dumpcap will use threads to support capturing on multiple interfaces
> simultaneously. I'll implement it soon, Irene is already working on
> changing the GUI to support it...
>
> Best regards
> Michael
Which leaves the code in main.c (tap stuff) - should that be removed?
Regards
Anders
>> ___________________________________________________________________________
>> Sent via:    Wireshark-dev mailing list<wireshark-dev@wireshark.org>
>> Archives:    http://www.wireshark.org/lists/wireshark-dev
>> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>>              mailto:wireshark-dev-request@wireshark.org?subject=unsubscribe
>>
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list<wireshark-dev@wireshark.org>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>               mailto:wireshark-dev-request@wireshark.org?subject=unsubscribe
>

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@wireshark.org?subject=unsubscribe

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic