REORG: thread: move ha_get_pthread_id() to thread.c
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 20:44:28 +0000 (22:44 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 23:41:14 +0000 (01:41 +0200)
commit4eeb88363c6bc3e1b26b77e138afed2b289f6954
tree4f5b4967c36ffb3bd020e7e1e7075a2efdd6ede1
parentd10385ac4bc7a81604c5024279c500dc482bd880
REORG: thread: move ha_get_pthread_id() to thread.c

It's the last function which directly accesses the pthread_t, let's move
it to thread.c and leave a static inline for non-thread.
include/haproxy/thread.h
include/haproxy/tinfo.h
src/thread.c