Date: Thu, 14 May 2020 16:25:00 +0300
On Thu, 14 May 2020 at 15:56, Avi Kivity <avi_at_[hidden]> wrote:
> I'm not sure I understand where the temporary really is in the
> not-so-lame testcase in the bug report. To me,
> it seems like everything is stored and lifetimes don't end
> prematurely, but I don't understand how initial_suspend
> really works. :)
>
>
> Copying it here for reference:
No worries, I see it now, I managed to misread get_real_lambda as
returning the lambda, whereas it returns a call
to it, which is asynchronous.
> I'm not sure I understand where the temporary really is in the
> not-so-lame testcase in the bug report. To me,
> it seems like everything is stored and lifetimes don't end
> prematurely, but I don't understand how initial_suspend
> really works. :)
>
>
> Copying it here for reference:
No worries, I see it now, I managed to misread get_real_lambda as
returning the lambda, whereas it returns a call
to it, which is asynchronous.
Received on 2020-05-14 08:28:15