commit | e36f803b71126507fcb6d5d69d507ceebea652c0 | [log] [tgz] |
---|---|---|
author | Aurelien DARRAGON <adarragon@haproxy.com> | Tue Mar 21 13:22:33 2023 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Apr 05 08:58:17 2023 +0200 |
tree | 1987171f3885a528d6780517869fc78dbf160d0e | |
parent | fde199dddc4c795b20bceb3393a248d8c072b082 [diff] |
MINOR: hlua: simplify lua locking The check on lua state==0 to know whether locking is required or not can be performed in a locking wrapper to simplify things a bit and prevent implementation errors. Locking from hlua context should now be performed via hlua_lock(L) and unlocking via hlua_unlock(L)