1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware/target
William Wilgus 1da2708a7c Fix timer Agptek Rocker (other hosted players)
on timer_unregister callbacks are not removed

It seems (at least on the Rocker) timers continue to fire (for a bit??)

Now we store the registered callback in the sigev structure and check
that the callback matches the one registered when the timer is created.

This should stop the possible case of a new timer getting spurious callbacks
We also now NULL the callbacks on un-register which should stop the segfaults

Added some notes to timer.c and timer.h

Change-Id: Ia155c3a4e4af89f474d55ed845560ccc1fab85aa
2019-10-17 21:19:00 +02:00
..
arm iPod Classic: enable IRAM1 in bootloader 2019-10-13 23:23:32 -04:00
coldfire Coldfire: Don't clobber alwarm wakeup signal in dualboot mode 2019-01-01 23:30:44 -05:00
hosted Fix timer Agptek Rocker (other hosted players) 2019-10-17 21:19:00 +02:00
mips XduooX3: Uncomment code that prevented hotswap from working. 2019-07-29 11:14:41 -04:00
sh Unify storage threads into one 2017-10-26 14:35:41 -04:00