[Issue 12800] Fibers are broken on Win64
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Mon Sep 22 08:15:05 PDT 2014
    
    
  
https://issues.dlang.org/show_bug.cgi?id=12800
--- Comment #5 from Sönke Ludwig <sludwig at outerproduct.org> ---
Correction: It's the first call to yield() that crashes.
---
import core.thread, std.stdio;
void fun() { writeln("A"); Fiber.yield(); writeln("B"); }
void main() {
    auto f = new Fiber(&fun);
    writeln("call..");
    f.call(false);
    writeln("call again..");
    f.call(false);
    writeln("exit");
}
---
Output:
call..
A
(crash)
--
    
    
More information about the Digitalmars-d-bugs
mailing list