mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
As the notifierMutex is unlocked while the callback is being called in alarmCallback(), it's possible for next to be invalidated due to a cleanNotifier() call. Now, instead of deleting the notifier immediately, add it to a freelist to be cleaned up at the tail end of alarmCallback.