]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Convert vrps.table_lock into a mutex
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Thu, 2 Feb 2023 00:56:09 +0000 (18:56 -0600)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Thu, 2 Feb 2023 01:26:54 +0000 (19:26 -0600)
commit48868d8167084aaa8d081849810f9fd3ba8942b4
tree777de3a2599522d2a1a35b9705db741c8ad5cb2d
parent0b8449ef6f19be714e59f7b94afc7a13afaf6188
Convert vrps.table_lock into a mutex

There are no readers, so there's no point in this being a reader-writer
lock.

Still not meant to be a fix for #83/#89. I'm mostly just trying to force
myself to interact with the code in hopes of finding the bug.
src/common.c
src/common.h
src/rtr/db/vrps.c
src/rtr/rtr.c
src/thread/thread_pool.c