[Issue 3523] Fiber is not garbage collected properly

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 19 07:28:29 PST 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3523


Sean Kelly <sean at invisibleduck.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED


--- Comment #2 from Sean Kelly <sean at invisibleduck.org> 2009-11-19 07:28:26 PST ---
Hm... that's tricky.  The fiber implementation needs to hold a reference to the
fiber on its stack for context switching, and that's the reference that is
keeping the fiber alive.  I'll play with the stack pointers a bit and see if
things work if I exclude that reference from the GC scan.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list