Ethereal-dev: Re: [ethereal-dev] Viewing packets while capturing...
Guy Harris wrote:
>
>
> Some of them have threads packages implemented purely in userland, which
> means that, unless they provide a "wrapper" library of the sort I was
> talking about, a blocking system call executed by a thread in a process
> will cause *the entire process* to block, not just the thread that makes
> the system call.
>
Yes.
>
> You may not care, but there are very likely to be other people who *do*
> care.
Yes ! :-)
> Digital UNIX, and recent versions of UnixWare, have, as far as I know,
> threads that the kernel knows about, so that if a thread in a process
> executes a blocking system call, only the thread stops running, not the
> entire process.
Yes, DU has true POSIX threads in both kernel and user land that do not
require wrappers.
> I think the latest versions of HP-UX and maybe AIX may
> have that as well, but I have the impression that there may be older
> versions that either don't have threading support or that have userland
> threading support
I agree.
> It may be that some of the platforms listed are ones of which few enough
> users would want to use Ethereal that we don't have to worry about them
> - but I wouldn't necessarily *assume* that of any platform.
I agree and I think that we could avoid threads when there is no gain using
them and when a solution with another process is possible.
--
Laurent DENIEL | E-mail: deniel@xxxxxxxxxxx
Paris, FRANCE | deniel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
| WWW : http://www.worldnet.fr/~deniel
All above opinions are personal, unless stated otherwise.