Linked by Thom Holwerda on Wed 17th Aug 2005 17:31 UTC
Sun Solaris, OpenSolaris If Sun gets very serious about Solaris 10 on x86 and the Open Solaris project that it hopes will nourish it, Linux vendors had better get very worried. That's because, in the many areas where Linux is miles ahead of Solaris, Sun stands a good chance of catching up quickly if it has the will, whereas in the many areas where Solaris is miles ahead, the Linux community will be hard pressed to narrow the gap.
Permalink for comment 20294
To read all comments associated with this story, please click here.
RE[9]: sunos ahead
by rhavyn on Fri 19th Aug 2005 21:25 UTC in reply to "RE[8]: sunos ahead"
rhavyn
Member since:
2005-07-06

What do you think LinuxThreads was? It was a badly implemented pthread library.

LinuxThreads is still the old Linux thread system and it was 1:1. Which was the point of my original post.

People living in glass houses....

Accroding to you FAQ. :

At thread creation time, the newly created thread inherits the signal mask of the thread calling pthread_create(). But afterwards, the new thread can modify its signal mask independently of its creator thread.


Which has nothing to do with LinuxThreads being 1:1 or not. And I specifically mentioned NPTL fixing the problem with LinuxThreads not following POSIX correctly.

In all OSes the pthread library uses the pthread_create naming symantics. the LinuxThread library was a badly implemented POSIX thread (pthread) library, hence pthread_create.

LinuxThreads was a well implemented POSIX thread library that didn't follow the signal semantics correctly. And they freely admitted it. Linux threads have still been 1:1 for quite a long time.

Solaris always had a seperate thread library(thr_create) along with a pthread library. The Solaris thread library always supported a 1:1 (bound threads) or M:N behavior.
In Solaris 1:1 threads don't take up new PIDs in the hacky linux sort of way.


You can call it hacky or not, it's a 1:1 threading model. It's been that way for a long time.

Reply Parent Score: 1