]> git.hungrycats.org Git - bees/commit
process: replace crucible::gettid() with a weak symbol
authorZygo Blaxell <bees@furryterror.org>
Thu, 9 Jan 2025 06:22:49 +0000 (01:22 -0500)
committerZygo Blaxell <bees@furryterror.org>
Thu, 9 Jan 2025 06:37:44 +0000 (01:37 -0500)
commit82f1fd8054364fd638c95e4e6a0f9e887bcb69bd
treee82ea0a3283cc62944eb56cb93b45a332ed1a0df
parenta9b07d7684536a9fd58ea4686583a484caf6ba45
process: replace crucible::gettid() with a weak symbol

Since we're now using weak symbols for dodgy libc functions, we might
as well do it for gettid() too.

Use the ::gettid() global namespace and let libc override it.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
include/crucible/lockset.h
include/crucible/process.h
lib/chatter.cc
lib/process.cc
src/bees-trace.cc