[lkml]   [2000]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: thread rant
On Fri, 1 Sep 2000, Michael Bacarella wrote:

> Q: Why do we need threads?
> A: Because on some operating systems, task switches are expensive.

No. threads share variable and code memory, processes do not. And
sometimes it can make your life a lot easier. Even if you can use things
such as SHM or so.

> Q: So, threads are a hack to get around operating systems that suck?
> A: Basically.

I don't agree.

> Q: So, why must Linux support threads?
> A1: : |
> A2: So other programs can be easily ported to Linux!
> That can already happen. It's not the *best* implementation. It's
> not as fast as it can be. But it works. And that's all it should do. If
> you're not happy, cope.
> "But threads on this system are faster than on Linux!"
> The fact that the system implements threads speaks enough about
> it's capabilities. ie, it's trying hard to suck less. So, from my POV,
> we're looking to make Linux suck more by effectively emulating systems
> that are trying to suck less.
> But, I've never done anything worthwhile for Linux, so take this for what
> it's worth, from an asshole.
> -MB


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:38    [W:0.117 / U:0.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site