commit | 2a9764baae98a5f95ef08ea57129880ef223c268 | [log] [tgz] |
---|---|---|
author | Aurelien DARRAGON <adarragon@haproxy.com> | Tue Apr 04 18:41:04 2023 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Apr 19 11:03:31 2023 +0200 |
tree | 40df853dd4e84b7951de297600a62d81e3feccd3 | |
parent | 58e36e5b144da7a810a84a041a68b1ebf5ec516b [diff] |
CLEANUP: hlua: avoid confusion between internal timers and tick based timers Not all hlua "time" variables use the same time logic. hlua->wake_time relies on ticks since its meant to be used in conjunction with task scheduling. Thus, it should be stored as a signed int and manipulated using the tick api. Adding a few comments about that to prevent mixups with hlua internal timer api which doesn't rely on the ticks api.