[fpc-devel] Threads and alot of crap

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Oct 17 09:06:19 CEST 2006


On 16 okt 2006, at 22:49, Daniƫl Mantione wrote:

> In other works, pthreads results
> in subpar performance,

Is the overhead of a few user level routines really that big? Once  
the threads are setup, they automatically become kernel threads  
anyway. Having a user level layer in between might even help in some  
cases (like e.g. if the threading subsystem decides that a spinlock  
is more appropriate in a particular situation based on the  
semaphore's properties).


Jonas


More information about the fpc-devel mailing list