MINOR: lua-thread: Stop usage of struct hlua for the global lua state
authorThierry Fournier <thierry.fournier@ozon.io>
Sat, 28 Nov 2020 10:21:25 +0000 (11:21 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 2 Dec 2020 20:53:16 +0000 (21:53 +0100)
commit92689e651e59decfc567893c148a3beb546e3d7c
tree615b947ac7367d7b98185c326396817a9e42c6b0
parent4234dbd03bd64ccec888ce1ecf6ccd611ea87b6f
MINOR: lua-thread: Stop usage of struct hlua for the global lua state

The goal is to no longer use "struct hlua" with global main lua_state.

The usage of the "struct hlua" is no longer required. This patch replaces
this struct by another one.

Now, the usage of runtime Lua phase is separated from the start lua phase.
src/hlua.c