MINOR: shctx: Add new reserve_finish callback call to shctx_row_reserve_hot
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Thu, 16 Nov 2023 16:38:24 +0000 (17:38 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 16 Nov 2023 18:35:10 +0000 (19:35 +0100)
commit1cd91b4f2aee0e7cfd0e89be579311c6d26d622d
tree1faeb9c9da0a03fc7f44fdb49f434f080aa7f044
parent11df806c88d2a3bb18c2ded9587053e4e29ddde4
MINOR: shctx: Add new reserve_finish callback call to shctx_row_reserve_hot

This patch adds a reserve_finish callback that can be defined by the
subsystems that require a shared_context. It is called at the end of
shctx_row_reserve_hot after the shared_context lock is released.
include/haproxy/shctx-t.h
src/shctx.c