Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: lo tek <lotek@iname.com>
Subject: Understanding threads in Unix
Date: 1998/09/27	[thread overview]
Message-ID: <360F04C1.ECAD5E9@iname.com> (raw)

I was a Windows NT programmer before becoming web master and (kind of) a
Unix admin. I have begun to evaluate upgrading our DEC Unix platform to
either AIX or Solaris. (Why get rid of DEC - concern about its future
due to Compaq's ties to microsoft, availability of off-the-shelf
software, et al) Anyway, I've heard that some Unix OSes don't have
threads. I have a Linux workstation, and I believe Linux has threads. Is
this a System V versus OSF thing?

>From what I understand on NT, a new thread is different from a new
process in that a new thread gets its own stack but not its own heap.
This means it's faster to initialize a new thread instead of a new
process. The advantage is that, for example, a web server only uses new
threads to handle each request, instead of "blocking" requests and using
new processes.

How do AIX and Solaris compare in this regard? If neither has threads,
or neither has many apps that use threads, is this a performance
problem? Certainly I'm not suggesting NT would outperform. :) If both
have threads, which is more stable? Also, if an OS doesn't have threads,
an app may wish to emulate a threaded
environment, forcing each vendor to recreate threading which is probably
not trivial, and therefore error-prone.

tia,
lo tek

ps - if you could, when you reply to the newsgroup, please send a copy
to lotek@iname.com



             reply	other threads:[~1998-09-27  4:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-27  4:00 lo tek [this message]
1998-09-28  4:00 ` Understanding threads in Unix William LeFebvre
1998-09-30  4:00   ` Mark
1998-09-28  4:00 ` Ben Elliston
1998-09-29  4:00   ` Patrick TJ McPhee
1998-10-01  4:00 ` Jason Rosenberg
1998-10-02  4:00   ` Mark & Suzanne (gcs might work)
1998-10-01  4:00     ` Chad Schrock
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox