-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: microbit: pong: update work API usage
Use the reschedule solution as there may be cases where a newer deadline should supersede an older one. The implementation has no locking and so has data races between the handler and external events. Emit a console diagnostic in one case where the race can be detected. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
- Loading branch information
Showing
1 changed file
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters