Skip to content

HardwareTimer: set callback before enabling interrupt#835

Merged
fpistm merged 1 commit intostm32duino:masterfrom
ABOSTM:HARDWARETIMER_CALLBACK_RACE_CONDITION
Dec 16, 2019
Merged

HardwareTimer: set callback before enabling interrupt#835
fpistm merged 1 commit intostm32duino:masterfrom
ABOSTM:HARDWARETIMER_CALLBACK_RACE_CONDITION

Conversation

@ABOSTM
Copy link
Copy Markdown
Contributor

@ABOSTM ABOSTM commented Dec 16, 2019

Summary
HardwareTimer: set callback before enabling interrupt to avoid race condition.

Takes into account race condition remark from #806

@fpistm fpistm self-requested a review December 16, 2019 13:48
@fpistm fpistm added this to the 1.8.0🎄 🎅 milestone Dec 16, 2019
@fpistm fpistm added the fix 🩹 Bug fix label Dec 16, 2019
@fpistm fpistm merged commit d2ebcd5 into stm32duino:master Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix 🩹 Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants