commit | c749259dff591b234a42e0ab825eed31f4943660 | [log] [tgz] |
---|---|---|
author | Thierry Fournier <thierry.fournier@ozon.io> | Sat Nov 28 23:57:24 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Dec 02 21:53:16 2020 +0100 |
tree | 16b74ff06b6fc3067807c0e4e716508cba0bf3d5 | |
parent | 021d986ecc3b7bbdadf3196aabe029894ffc4a9a [diff] |
MINOR: lua-thread: Store each function reference and init reference in array The goal is to allow execution of one main lua state per thread. The array introduces storage of one reference per thread, because each lua state can have different reference id for a same function. A function returns the preferred state id according to configuration and current thread id.