Fiber implementation questions
Steven Schveighoffer via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jun 21 13:07:21 PDT 2016
On 6/21/16 3:03 PM, David Nadlinger wrote:
> On Tuesday, 21 June 2016 at 16:12:13 UTC, Steven Schveighoffer wrote:
>> On 6/21/16 11:43 AM, Dicebot wrote:
>>> On Tuesday, 21 June 2016 at 12:18:37 UTC, Steven Schveighoffer wrote:
>>>> On 6/21/16 6:14 AM, Dicebot wrote:
>>>> httpthub.com/dlang/druntime/blob/master/src/core/thread.d#L1611
>>>>
>>>
>>> I suspected something like this, it explains a lot. Do you know why this
>>> approach was chosen instead of simply registering allocated memory for
>>> GC scan? Does GC has special approach for stack scanning which differs
>>> from normal memory?
>>
>> There must be a reason, I think maybe Martin or Sean would know more.
>
> You don't want to be scanning the unused part of the stack region. -David
OK, that's... pretty obvious, thanks :)
-Steve
More information about the Digitalmars-d
mailing list