MINOR: lua-thread: Split hlua_load function in two parts
authorThierry Fournier <thierry.fournier@ozon.io>
Sat, 28 Nov 2020 14:02:13 +0000 (15:02 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 2 Dec 2020 20:53:16 +0000 (21:53 +0100)
commitc93c15cf8c53df77f871037c809a03ea0f347c8d
treeffe1bd9f003eb6980b3b1f3defbdcc29b33af230
parent75fc02956b1f2b31d80dda0c9be67c591fa7bade
MINOR: lua-thread: Split hlua_load function in two parts

The goal is to allow execution of one main lua state per thread.

This function will be called once per thread, using different Lua
states. This patch prepares the work.
src/hlua.c