Another interesting portable atomics library is
https://github.com/mintomic/mintomic

FYI, I took a stab at a simple portable atomics that uses GCC/clang
__atomic, or __sync, or Win32 Interlocked*, or a single global lock, and
with a fallback to unsafe, non-atomic implementations for no-threads
configurations; adding C11 support will be trivial.  For just
incremdent/decrement and CAS this is really small, and I think that's
enough for OpenSSL for starters.
_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to