Restartable sequences in glibc
Restartable sequences in glibc
Posted Feb 1, 2022 3:27 UTC (Tue) by compudj (subscriber, #43335)Parent article: Restartable sequences in glibc
Its primary goal is to provide a higher-level C API as static inline functions to implement the critical sections for common use-cases on all supported architectures (currently x86 32/64, arm 32/64, powerpc 32/64, s390, s390/x, and mips). It does the heavy lifting: it implements the per-architecture assembly for each per-cpu data access pattern.
Its second goal is to provide a rseq registration API to be used with older glibc (before 2.35) which is also compatible with glibc 2.35.
librseq is available under both LGPLv2.1 and MIT licenses. This library is still under active development, with no official release yet.