[Tarantool-patches] [PATCH 2.X 3/7] module api: luaT_newthread

Timur Safin tsafin at tarantool.org
Fri Oct 2 15:26:47 MSK 2020


: From: Alexander Turenko <alexander.turenko at tarantool.org>
: Subject: Re: [PATCH 2.X 3/7] module api: luaT_newthread
: 
: On Thu, Sep 24, 2020 at 08:00:16PM +0300, Timur Safin wrote:
: > Exporting `luaT_newthread` as it's necessary for external merger
: 
: But you expose accessors for the temporary Lua state in the later patch.
: Built-in merger only uses luaT_newthread() in luaT_temp_luastate().

Good point! Indeed - it would be unnecessary iff we keep
luaT_temp_luastate part of module api...

But looks like we are not (and would copy corresponding code back to 
merger' utils code), so we should consider this patch once again as 
necessary.

Timur




More information about the Tarantool-patches mailing list