aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2021-02-26 02:04:48 +0100
committerDario Nieuwenhuis <[email protected]>2021-02-26 02:04:48 +0100
commitda917791174510637c69660b10b1e201d22cfe9d (patch)
tree263cd79b24c0d0c7df56b9bd1444aac777e64b7b /.github/workflows
parent17cf301d4fdc3bc0b1356ed250bfacca0d67ef3e (diff)
interrupt: Split set_handler context.
Since introducing the ctx pointer, the handler is now two words, so setting it can race with the interrupt firing. On race it's possible for the new handler to be alled with the old ctx pointer or viceversa. Rather than documenting this, it's better to split the function in two to make it obvious to the user that it's not atomic. The user can use a critical section, or disable/enable the interrupt to avoid races if this is a concern.
Diffstat (limited to '.github/workflows')
0 files changed, 0 insertions, 0 deletions