bind9/lib/isc/include
Ondřej Surý b497e90179
Add isc_spinlock unit with shim pthread_spin implementation
The spinlock is small (atomic_uint_fast32_t at most), lightweight
synchronization primitive and should only be used for short-lived and
most of the time a isc_mutex should be used.

Add a isc_spinlock unit which is either (most of the time) a think
wrapper around pthread_spin API or an efficient shim implementation of
the simple spinlock.
2023-04-21 12:10:02 +02:00
..
isc Add isc_spinlock unit with shim pthread_spin implementation 2023-04-21 12:10:02 +02:00
.clang-format Add separate .clang-format files for headers 2020-02-14 09:31:05 +01:00