Ethereal-dev: Re: [ethereal-dev] Viewing packets while capturing...

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

From: Lyle Bickley <lpb@xxxxxxxx>
Date: Tue, 05 Jan 1999 19:22:55 -0800
Guy Harris wrote:
> 
> > Linux, NT (burp..) and virtually all UNIX systems have threads natively
> > or via publicly available packages.
> 
> Does this require threads the kernel knows about?  Many existing UNIX
> systems have userland-only threads packages (I think all but the latest
> HP-UX may have userland-only threads - I think recent HP-UXes have
> threads of which the kernel is aware - and I think the freely-available
> BSDs have userland threads, although I think some of them, at least in
> the latest versions, might have the kernel infrastructure needed to have
> the kernel know about the threads).

I checked both SGI and Sun docs. and found that both have
high-resolution hardware timers which are accessable by both native OS's
(IRIX and Solaris).  Both support 64 bit resolution (to the
nanosecond).  While both report nanosecond resolution, actual resolution
is hardware dependent - but always a LOT better than the standard ms
counters.  Later systems count in the 50-100 ns range.

I also checked out the thread libraries of SGI and Sun and found that
both support OS threads (mutex/semiphores) and Posix threads in both UNI
and SMP environments.

Hope this helps.

Cheers,
Lyle

-- 
Lyle P. Bickley  |  Bickley Consulting West Inc.
lpb@xxxxxxxxxxx  |  1697 Grant Road
V 650-428-0621   |  Mountain View, CA 94040
F 650-428-0599   |