Note! This project has moved to github.com/armmbed/mbed-events
You are viewing an older revision! See the latest version
Homepage
Composable event loops combine the cheap synchronicity of event loops with the composability of preempted threads.
Two modular event queue classes are provided:
- EventLoop - for loops coupled with a c++ managed thread
- EventQueue - for manually managed event queues
The Event class takes advantage of the extensibility of FuncPtr to manage an event's resources while allowing the event to be dispatched on an event queue similar to a normal function.