[fpc-devel] Light weight threads for FPC

Vinzent Hoefler JeLlyFish.software at gmx.net
Fri Dec 14 12:19:22 CET 2007


On Friday 14 December 2007 11:46, Mattias Gaertner wrote:

>  For many parallel algorithms you don't
> need events, priority or synchronize. But you need to easily and fast
> start a set of threads with IDs 0..N.

Ok, so you're mostly caring about the thread creation overhead, it 
seems.

So yes, here I'd go with Florians thread pools advice. And no, it's not 
implemented yet, AFAIK.

You still can implement such thread pools on top of OpenMP(I) (or 
similar APIs), if you need to get much lighter. ;)



Vinzent.



More information about the fpc-devel mailing list