]> git.ipfire.org Git - thirdparty/bird.git/commit
BFD: remove unused spinlock
authorZhang Maiyun via Bird-users <bird-users@network.cz>
Sun, 23 Nov 2025 19:38:03 +0000 (14:38 -0500)
committerMaria Matejka <mq@ucw.cz>
Wed, 26 Nov 2025 09:33:11 +0000 (10:33 +0100)
commit24ace3ed06bd4bacf0fe5eef369f4cfe9b7945bd
tree370b0313769c96cf6cee48889cd1270252ef856c
parentf5ba3853792dc807384442de36e3ccd3d95f72cc
BFD: remove unused spinlock

The only use of the spinlock in `struct bfd_proto` was removed in 38acb415f
and now it should be fine to remove it.

The check for `pthread_spin*` in `aclocal.m4` is also removed
accordingly. This makes it possible to port BFD support to platforms
without spinlocks (e.g. Darwin)

Signed-off-by: Zhang Maiyun <me@maiyun.me>
aclocal.m4
proto/bfd/bfd.h