[Issue 3523] Fiber is not garbage collected properly

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3523 --- Comment #13 from d...@dawgfoto.de 2012-10-16 18:06:40 PDT --- When the fiber is halted the Fiber object owns it's stack This doesn't work out with our current GC mechanisms and the required stack scans. The other solution I can think of

[Issue 3523] Fiber is not garbage collected properly

2012-10-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3523 Alex R�nne Petersen a...@lycus.org changed: What|Removed |Added CC||a...@lycus.org

[Issue 3523] Fiber is not garbage collected properly

2012-02-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3523 --- Comment #10 from d...@dawgfoto.de 2012-02-15 04:15:06 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

[Issue 3523] Fiber is not garbage collected properly

2012-02-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3523 --- Comment #11 from Witold Baryluk bary...@smp.if.uj.edu.pl 2012-02-15 08:09:20 PST --- (In reply to comment #10) Hm... that's tricky. The fiber implementation needs to hold a reference to the fiber on its stack for context switching,

[Issue 3523] Fiber is not garbage collected properly

2012-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3523 d...@dawgfoto.de changed: What|Removed |Added CC||d...@dawgfoto.de --- Comment #6

[Issue 3523] Fiber is not garbage collected properly

2012-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3523 --- Comment #7 from Witold Baryluk bary...@smp.if.uj.edu.pl 2012-02-14 10:20:42 PST --- (In reply to comment #6) I think this works now, doesn't it? If you think so, I will test it shortly and report back. -- Configure issuemail:

[Issue 3523] Fiber is not garbage collected properly

2012-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3523 --- Comment #8 from Witold Baryluk bary...@smp.if.uj.edu.pl 2012-02-14 20:53:05 PST --- Still same problem in 2.052. :( Will check tomorrow 2.057, or 2.058 if it will be released. -- Configure issuemail:

[Issue 3523] Fiber is not garbage collected properly

2012-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3523 --- Comment #9 from Witold Baryluk bary...@smp.if.uj.edu.pl 2012-02-14 21:12:50 PST --- (In reply to comment #8) Still same problem in 2.052. :( Will check tomorrow 2.057, or 2.058 if it will be released. Well, it looks 2.058 is already

[Issue 3523] Fiber is not garbage collected properly

2009-11-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3523 --- Comment #5 from Witold Baryluk bary...@smp.if.uj.edu.pl 2009-11-25 06:11:41 PST --- Ok, i now i solved it using kind of hack: /** This class is written because Fiber's are not correctly garbage collected */ class GenWrap(T : AGenerator,

[Issue 3523] Fiber is not garbage collected properly

2009-11-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3523 --- Comment #3 from Witold Baryluk bary...@smp.if.uj.edu.pl 2009-11-24 16:05:22 PST --- I solved my problem by changin one of my base clases from: abstract class AGenerator : Fiber { protected: this(void delegate() dg) {

[Issue 3523] Fiber is not garbage collected properly

2009-11-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3523 Sean Kelly s...@invisibleduck.org changed: What|Removed |Added Status|NEW |ASSIGNED ---

[Issue 3523] Fiber is not garbage collected properly

2009-11-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3523 --- Comment #1 from Witold Baryluk bary...@smp.if.uj.edu.pl 2009-11-18 19:56:25 PST --- If one will not call derived.call() (so leaving Fiber in TERM state, and never running it at all) it will be properly collected. Adding after