]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: lua: each yielding function returns a wake up time.
authorThierry FOURNIER <tfournier@exceliance.fr>
Tue, 3 Mar 2015 16:17:55 +0000 (17:17 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 4 Mar 2015 16:58:52 +0000 (17:58 +0100)
commitc42c1ae885177e38ebed5ce05124e77e8a9209db
tree135dcc5d700d637bd4a63b1cd94e3cf274f923da
parentbd4134983138ee69ab4a06c0c5d4fbe642cf4e75
MEDIUM: lua: each yielding function returns a wake up time.

This is used to ensure that the task doesn't become a zombie
when the Lua returns a yield. The yield wrapper ensure that an
timer used for waking up the task will be set.

The timer is reseted to TICK_ETERNITY if the Lua execution is
done.
include/types/hlua.h
src/hlua.c