]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: lua: interrupt the Lua execution for running other process
authorThierry FOURNIER <tfournier@exceliance.fr>
Tue, 3 Mar 2015 16:37:37 +0000 (17:37 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 4 Mar 2015 16:58:52 +0000 (17:58 +0100)
commitee9f802c4fb69aecd613a576aaf587bc8f982929
treeb367c95701e514e89ba8d886995619c816fdd9f4
parent4abd3ae1847fabe5a276be8f736117a08cb3d53a
MEDIUM: lua: interrupt the Lua execution for running other process

This patch permits to interrupt the Lua execution each n# of
instructions. It is useful for controling the execution time
of an Lua code, and permits at the HAProxy schedule to process
some others tasks waiting execution.
src/hlua.c