Optimal multithread model

Gabriel Kerneis kerneis at pps.jussieu.fr
Wed Mar 17 08:11:34 CET 2010


On Wed, Mar 17, 2010 at 02:04:36AM +0100, Marc Lehmann wrote:
> Apart from libcoro (extremely bare bones, unlikely to make people happy,
> think libev to get the idea :) there is also GNU libpth, and various
> so-called "green threads" implementations.

I benchmarked a number of "green threads" libraries and found State
Threads to be far more efficient than Pth.  OTOH, Pth focuses on
portability, and I have not idea how State Threads behaves on anything
but a Linux box.  YMMV.

My 2 cents,
-- 
Gabriel Kerneis



More information about the libev mailing list