You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per 445a4b6, we implemented custom logic to compile with C11 when atomics were available, and C99 when they were not available. However, with the EoL of CentOS 7, we believe that all default compilers should be able to compile with C99. This gives us access to three pieces of functionality we use:
Static asserts, we have some custom code defined to support it but now we can standardize on the C11 functionality.
native thread_local support. We can avoid _thread.
Native atomics support, so we can remove our custom logic supporting atomics.
This change should target Valkey 8. We will continue to use the old gcc version on Valkey 7.2.
The text was updated successfully, but these errors were encountered:
@madolson Are we sticking to the default memory ordering for _Atomic operations (ex: incr, decr, ....) for C11 which is sequentially consistent memory ordering memory_order_seq_cst, or are we going with the one used for the custom logic which is relaxed (memory_order_relaxed).
As per 445a4b6, we implemented custom logic to compile with C11 when atomics were available, and C99 when they were not available. However, with the EoL of CentOS 7, we believe that all default compilers should be able to compile with C99. This gives us access to three pieces of functionality we use:
_thread
.This change should target Valkey 8. We will continue to use the old gcc version on Valkey 7.2.
The text was updated successfully, but these errors were encountered: