Note! This project has moved to github.com/armmbed/mbed-events

Dependents:   SimpleHTTPExample

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.

Changes

RevisionDateWhoCommit message
20:2f9d9c53a5af 2016-04-18 Christopher Haster Add event_pointer argument to avoid memory allocation default tip
19:86ffaa34870b 2016-04-18 Christopher Haster Remove nonsensical defaults
18:765776145464 2016-04-18 Christopher Haster Adopt saner comment strategy
17:6d564266850e 2016-04-18 Christopher Haster Add convenience trigger functions
16:ff5d48fcce1b 2016-04-18 Christopher Haster Make rtos requirement
15:92d7c0b8a0f5 2016-05-10 Christopher Haster Abstracted out irq primitives
14:5abf2ccf2dbf 2016-05-10 Christopher Haster Move to internal memory management
13:b84e049b2d9c 2016-04-22 Christopher Haster Add support for attaching queue/callback separately
12:1feb78280125 2016-04-22 Christopher Haster Add trigger method for explicit event triggering
11:6721568592e5 2016-04-22 Christopher Haster Fix documentation of EventLoop
10:62767e708bb6 2016-04-22 Christopher Haster Clean mbed namespace from events
9:2b0910397844 2016-04-22 Christopher Haster Move to yield in loop when rtos is present
8:3c2a014bd907 2016-04-22 Christopher Haster Added thread based EventLoop under EVENTS_NO_RTOS define
7:dcd589b578ca 2016-04-21 Christopher Haster Move to set_PRIMASK for exiting recursive irq locks
6:31c141d3bcc7 2016-04-20 Christopher Haster Enable nested disable/enable irqs
5:9963a617f952 2016-04-20 Christopher Haster Fix uninitialized variable in EventQueue
4:30883e8633b4 2016-04-17 Christopher Haster Increase to 5 args
3:6dccdc36651f 2016-04-20 Christopher Haster Added additional FuncPtr overloads
2:11cda6bead99 2016-04-20 Christopher Haster Add support for delay/period on events
1:2202c19570e5 2016-04-20 Christopher Haster Fix several boundary conditions
0:b1b901ae3696 2016-04-20 Christopher Haster Initial commit of Event and EventQueue classes