Moved from httpd dev (which was moved to BCC) > On Sep 17, 2018, at 2:54 PM, Yann Ylavic <ylavic....@gmail.com> wrote: > > On Mon, Sep 17, 2018 at 5:52 PM Jim Jagielski <j...@jagunet.com> wrote: >> >> Would like to also propose for apr-1.7... > > How about 128bit? :p > > There are __int128 (gcc) and _m128 (MSVC) and most 64bit intel/amd > CPUs support cmpxchg16b.
The ‘__atomic’ builtins can be used with any integral scalar or pointer type that is 1, 2, 4, or 8 bytes in length. 16-byte integral types are also allowed if ‘__int128’ (see __int128 <https://gcc.gnu.org/onlinedocs/gcc/_005f_005fint128.html#g_t_005f_005fint128>) is supported by the architecture. This also implies that APR create a 128bit Int type, which we don't (yet). Bumping to support 64bit was easy and logical.. bumping to 128 requires more legwork and is a bit more "intrusive" ;) +1 to the theory though.