Messages in this thread | | | Subject | Re: Slow pthread_create() under high load | From | Andi Kleen <> | Date | 26 Mar 2000 18:41:54 +0200 |
| |
Alan Cox <alan@lxorguk.ukuu.org.uk> writes:
> > Alan, if POSIX threads are a "braindamaged pile of crap" (not arguing > > but I do use threads quite heavily) what would you rather us use as > > threads in Linux? Or are you not happy with any current implementation? > > If you want performance use clone() directly. If you want portability > you have to pay for the glue. Ulrich is right that at the moment said glue > involves jumping through a few too many hoops
The problem of using clone() directly is that you'll also have to implement your own user space locks. Which can be quite tricky to get right.
-Andi
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |