core.thread.Fiber --- runtime stack overflow unlike goroutines
    Dicebot via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Fri Aug 15 07:28:32 PDT 2014
    
    
  
On Friday, 15 August 2014 at 08:41:30 UTC, Kagamin wrote:
> On Thursday, 14 August 2014 at 07:46:29 UTC, Carl Sturtivant 
> wrote:
>> The default size of the runtime stack for a Fiber is 
>> 4*PAGESIZE which is very small, and a quick test shows that a 
>> Fiber suffers a stack overflow that doesn't lead to a clean 
>> termination when this limit is exceeded.
>
> Pass a bigger stack size to the Fiber constructor?
Won't that kind of kill the purpose of Fiber as low-cost context 
abstraction? Stack size does add up for thousands of fibers.
    
    
More information about the Digitalmars-d-learn
mailing list