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_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel