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>
[
pthread_t pt;
pthread_create(&pt, NULL, NULL, NULL);
- pthread_spinlock_t lock;
- pthread_spin_lock(&lock);
+ pthread_mutex_t lock;
+ pthread_mutex_lock(&lock);
]
)
],
{
struct proto p;
- pthread_spinlock_t lock;
-
pool *tpool;
struct birdloop *eloop;