Note! This project has moved to github.com/armmbed/mbed-events
This repository has been superceded
This project has moved to mbed-events
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 allow an event to be passed through APIs as a normal function.
More information on composable event loops.
Revisions of Event.h
Revision | Date | Message | Actions |
---|---|---|---|
17:6d564266850e | 2016-04-18 | Add convenience trigger functions | File Diff Annotate |
14:5abf2ccf2dbf | 2016-05-10 | Move to internal memory management | File Diff Annotate |
13:b84e049b2d9c | 2016-04-22 | Add support for attaching queue/callback separately | File Diff Annotate |
12:1feb78280125 | 2016-04-22 | Add trigger method for explicit event triggering | File Diff Annotate |
4:30883e8633b4 | 2016-04-17 | Increase to 5 args | File Diff Annotate |
3:6dccdc36651f | 2016-04-20 | Added additional FuncPtr overloads | File Diff Annotate |
2:11cda6bead99 | 2016-04-20 | Add support for delay/period on events | File Diff Annotate |
0:b1b901ae3696 | 2016-04-20 | Initial commit of Event and EventQueue classes | File Diff Annotate |