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

Ethereal-dev: Re: [Ethereal-dev] Priv sep in ethereal

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

From: ronnie sahlberg <ronniesahlberg@xxxxxxxxx>
Date: Tue, 8 Feb 2005 20:58:13 +1100
No, I dont think we use threads for TAP any more.

It was used briefly in the early days of TAP to perform asynchronous updates
of the ..._draw() output routines   but I think it sucked so bad
performance wise so
the threading was removed/disabled.




On Tue, 08 Feb 2005 01:54:22 -0800, Guy Harris <gharris@xxxxxxxxx> wrote:
> Mark Pizzolato wrote:
> 
> > I didn't know this.  I had assumed that since ethereal was a multi
> > threaded program
> 
> Not all platforms on which Ethereal runs support threading well.  We
> make no pthread calls in Ethereal (we don't define KAXLIB_POSIX_THREADS,
> so even the exceptions package doesn't make pthread calls), nor do we
> make any Windows threading calls - with GTK+ 2.x, threading is done for
> taps *if* USE_THREADS is defined, but I don't think we define it.
> 
> Note that in some versions of BSD, threading and BPF devices - which are
> what's used for packet capture on BSD systems - don't work well together.
> 
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>