]> git.ipfire.org Git - thirdparty/haproxy.git/commit
IMPORT: plock: export the uninlined version of the lock wait function
authorWilly Tarreau <w@1wt.eu>
Fri, 7 Feb 2025 15:45:21 +0000 (16:45 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 7 Feb 2025 17:04:29 +0000 (18:04 +0100)
commit5496d06b2b1ea276ffb6aec78ffca177b88d89cd
tree020636fcdc459945cf3607fa178580e435405900
parent8d63dc50ab2bfb0aceb486ad5f99b2b380430f16
IMPORT: plock: export the uninlined version of the lock wait function

The inlining of the lock waiting function was made more easily
configurable with commit 7505c2e ("plock: always expose the inline
version of the lock wait function"). However, the standard one remained
static, but in order to resolve the symbols in "perf top", it's much
better to export it, so let's move "static" with "inline" and leave it
exported when PLOCK_INLINE_EBO is not set.

This is plock commit 3bea7812ec705b9339bbb0ed482a2cd8aa6c185c.
include/import/plock.h