[Tarantool-patches] [PATCH v2 3/3] swim: use fiber._internal.schedule_task() for GC

Igor Munkin imun at tarantool.org
Thu Mar 19 17:53:21 MSK 2020


Vlad,

Thanks for the patch, LGTM.

On 03.03.20, Vladislav Shpilevoy wrote:
> swim object created a new fiber in its GC function, because C
> function swim_delete() yields, and can't be called from an ffi.gc
> hook.
> 
> It is not needed since the fiber module has a single worker
> exactly for such cases. The patch uses it.
> 
> Follow up #4727
> ---
>  src/lua/swim.lua | 11 +++++------
>  1 file changed, 5 insertions(+), 6 deletions(-)
> 

<snipped>

> 

-- 
Best regards,
IM


More information about the Tarantool-patches mailing list