mbed-os/events/equeue/tests
Christopher Haster d513587806 events - Fixed unchaining of event queues
The equeue_chain function is supposed to unchain the event queue
from whatever queue it is chained to when passed a null target.
Internally, this is accomplished by just calling equeue_background
with null and letting the previously registered update function
clean up the chaining.

However, equeue_chain did not appropriately check for null, causing
it to unnecessarily allocate memory and leaving the update function
in a bad state. Fixed with a simple null check.
2016-11-21 12:25:48 -06:00
..
prof.c Added mbed-events library 2016-09-29 18:44:09 +03:00
tests.c events - Fixed unchaining of event queues 2016-11-21 12:25:48 -06:00