commit | c42c1ae885177e38ebed5ce05124e77e8a9209db | [log] [tgz] |
---|---|---|
author | Thierry FOURNIER <tfournier@exceliance.fr> | Tue Mar 03 17:17:55 2015 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Mar 04 17:58:52 2015 +0100 |
tree | 135dcc5d700d637bd4a63b1cd94e3cf274f923da | |
parent | bd4134983138ee69ab4a06c0c5d4fbe642cf4e75 [diff] |
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.