Ethereal-dev: Re: [Ethereal-dev] Re: Thread issues

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Tue, 05 Apr 2005 12:10:15 -0700
Fabrizio Bertocci wrote:
Well, I don't completely agree with that. You guys only pointed out one situation (dissecting packets in parallel where there is dependency between packets) where we cannot use multi-threading, but you cannot exclude other possibilities. Something like for example parallelizing some long operations like filtering,

Note that, at least at present, filtering is done by evaluating a filter expression whose terms refer to the protocol tree, so protocol involves dissecting packets, and thus has much of the same trouble with muti-threading.

If by "parallelizing" you mean "run the filtering in the background, with the UI allowing access to the current list of packets, and update the list of packets when the filtering finishes", or "..., and update the list of packets as the filtering proceeds", that might be implementable.