|
|
Subscribe / Log in / New account

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.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds