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
makecontext and friends have to make system calls every time they are used to store the current signal mask. Instead of using this function directly it'd be more performant to store the callee-saved registers yourself (depends on your target systems ABI).
You'd need to store any preserved registers in the table here. You can also probably skip out of preserving float registers as they are also not guaranteed to be preserved accross function calls.
You could store all registers like makecontext does but it's not necessary.
makecontext
and friends have to make system calls every time they are used to store the current signal mask. Instead of using this function directly it'd be more performant to store the callee-saved registers yourself (depends on your target systems ABI).You'd need to store any preserved registers in the table here. You can also probably skip out of preserving float registers as they are also not guaranteed to be preserved accross function calls.
You could store all registers like
makecontext
does but it's not necessary.References:
The text was updated successfully, but these errors were encountered: