lkml.org 
[lkml]   [2000]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Slow pthread_create() under high load
From
Date
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/

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