]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: lua: adds "forced yield" flag
authorThierry FOURNIER <tfournier@exceliance.fr>
Tue, 3 Mar 2015 16:29:06 +0000 (17:29 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 4 Mar 2015 16:58:52 +0000 (17:58 +0100)
commit4abd3ae1847fabe5a276be8f736117a08cb3d53a
tree863e302d96546fc3a8e14bdec05483833feb8c09
parentc42c1ae885177e38ebed5ce05124e77e8a9209db
MINOR: lua: adds "forced yield" flag

This flag indicate that the current yield is returned by the Lua
execution task control. If this flag is set, the current task may
quit but will be set in the run queue to be re-executed immediatly.

This patch modify the "hlua_yieldk()" function, it adds an argument
that contain a field containing yield options.
include/proto/hlua.h
include/types/hlua.h
src/hlua.c