User: Password:
Subscribe / Log in / New account

Quotes of the week

Quotes of the week

Posted Feb 15, 2013 10:05 UTC (Fri) by jezuch (subscriber, #52988)
In reply to: Quotes of the week by mirabilos
Parent article: Quotes of the week

> Well, threads – particularily, POSIX threads – are *evil*.

And it's not even a joke. They *are* evil. I wish the kernel supported some other kind of parallelism as well (coroutines, maybe?) that doesn't have to emulated using threads.

(Log in to post comments)

Quotes of the week

Posted Feb 15, 2013 10:33 UTC (Fri) by khim (subscriber, #9252) [Link]

Kernel? WTF? Why kernel should know or even care? Kernel runs two (or more) processes with a shared address space, what happens inside of these two processes is entirely up to userspace.

Even clone(2) syscall which creates such processes does not know anything about threads: it just returns different return values in different processes but it does not change %xSP, it does not allocate new stack, etc.

Sorry, but you are barking on the wrong tree.

Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds