[M3devel] State of threads? pthreads not safe to use on some platforms?

Dragiša Durić dragisha at m3w.org
Mon Apr 18 14:07:40 CEST 2011


User threads were stable, but they had problems of their own... I met some of them when I implemented first pthread support - user threads switching is in order, and pthread switching is out of order. m3pp was failing because of that.
 
On Apr 17, 2011, at 8:13 PM, Tony Hosking wrote:

> 
> On Apr 17, 2011, at 1:34 PM, Hendrik Boom wrote:
> 
>> On Sun, Apr 17, 2011 at 12:43:16PM -0400, Tony Hosking wrote:
>>> So the question is what has changed.
>>> I know threads were functional and stable at one point.
>> 
>> Was that back when they were green threads?
> 
> User threads have historically been pretty stable, and I believe still are.
> Similarly, our use of pthreads was stable at one point but there have been recent changes that appear to have degraded them.
> 
>> Has our use of posix threads ever been stable?
>> Are green threads still available?
>> 
>> -- hendrik
> 




More information about the M3devel mailing list