[M3devel] userthreads vs. pthreads performance?

Dragiša Durić dragisha at m3w.org
Sun Mar 28 21:02:04 CEST 2010


Which platform?

On Sun, 2010-03-28 at 11:57 -0700, Mika Nystrom wrote:
> Yep, sounds right.  
> 
> I was profiling some other thread-using code that slowed down
> enormously
> because of pthreads and it turned out the program was spending ~95%
> of its time in accessing the thread locals via one of the pthread_
> functions.
> (The overhead of entering the kernel.)
-- 
Dragiša Durić <dragisha at m3w.org>




More information about the M3devel mailing list