Fiber is better than go's goroutine?

Brad Anderson via Digitalmars-d digitalmars-d at puremagic.com
Mon Oct 27 13:54:37 PDT 2014


On Monday, 27 October 2014 at 20:37:26 UTC, Sean Kelly wrote:
> One thing I just ran into while working on MultiScheduler is 
> that if a spawned thread is holding a lock when it yields, and 
> by yielding is picked up and executed by another thread, Bad 
> Things happen.  In hindsight this sees obvious, but it's 
> something I hadn't considered until now.

Just out of curiosity, what's the goal of MultiScheduler? Is it 
intended to be an M:N scheduler?


More information about the Digitalmars-d mailing list