From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ffc1e,7eb0575470192e20 X-Google-Attributes: gidffc1e,public X-Google-Thread: 115614,7eb0575470192e20 X-Google-Attributes: gid115614,public X-Google-Thread: fee84,7eb0575470192e20 X-Google-Attributes: gidfee84,public X-Google-Thread: 11035d,7eb0575470192e20 X-Google-Attributes: gid11035d,public From: Jason Rosenberg Subject: Re: Understanding threads in Unix Date: 1998/10/01 Message-ID: <3613C93F.DEADA235@erdas.com>#1/1 X-Deja-AN: 396775432 Content-Transfer-Encoding: 7bit References: <360F04C1.ECAD5E9@iname.com> To: lo tek Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsabuse@supernews.com X-Trace: 907266516 FJ6/YA4JNC914CF2BC usenet87.supernews.com Organization: Erdas, Inc. Mime-Version: 1.0 Newsgroups: comp.unix.aix,comp.unix.solaris,comp.unix.osf.osf1,comp.programming.threads Seriously, I think any concerns about the future of Digital Unix are unfounded. Furthermore, Digital Unix is in my opinion the fastest and cleanest flavor of Unix on the market, and has the cleanest and most stable implementation of pthreads out there. You ought to really evaluate your inclination to switch. A switch to AIX would be a disaster, AIX is nothing but problems. You just aren't going to beat the speed of the Alpha processor right now. Jason lo tek wrote: > > 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