Restartable sequences in glibc
Restartable sequences in glibc
Posted Aug 24, 2025 14:57 UTC (Sun) by smurf (subscriber, #17840)In reply to: Restartable sequences in glibc by NYKevin
Parent article: Restartable sequences in glibc
Yes, you did miss something: rseq calls cannot be nested. The cover a single range of instructions. This means that you cannot call malloc() (or anything else for that matter) from your restartable code. Thus your use of "struct rseq" and malloc's will not interfere with each other by definition.
