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.

History

Add event_pointer argument to avoid memory allocation default tip

2016-04-18, by Christopher Haster [Mon, 18 Apr 2016 13:22:21 -0500] rev 20

Add event_pointer argument to avoid memory allocation


Remove nonsensical defaults

2016-04-18, by Christopher Haster [Mon, 18 Apr 2016 12:59:37 -0500] rev 19

Remove nonsensical defaults


Adopt saner comment strategy

2016-04-18, by Christopher Haster [Mon, 18 Apr 2016 12:58:26 -0500] rev 18

Adopt saner comment strategy


Add convenience trigger functions

2016-04-18, by Christopher Haster [Mon, 18 Apr 2016 12:51:04 -0500] rev 17

Add convenience trigger functions


Make rtos requirement

2016-04-18, by Christopher Haster [Mon, 18 Apr 2016 09:47:21 -0500] rev 16

Make rtos requirement

Move to yield over wfi
Remove problematic timeout logic as optimization


Abstracted out irq primitives

2016-05-10, by Christopher Haster [Tue, 10 May 2016 09:23:27 -0500] rev 15

Abstracted out irq primitives


Move to internal memory management

2016-05-10, by Christopher Haster [Tue, 10 May 2016 07:51:44 -0500] rev 14

Move to internal memory management

Allows an event to be enqueued multiple times before being handled.
Downside is cancel is non-trivial to support.


Add support for attaching queue/callback separately

2016-04-22, by Christopher Haster [Fri, 22 Apr 2016 22:32:35 -0500] rev 13

Add support for attaching queue/callback separately


Add trigger method for explicit event triggering

2016-04-22, by Christopher Haster [Fri, 22 Apr 2016 22:18:55 -0500] rev 12

Add trigger method for explicit event triggering


Fix documentation of EventLoop

2016-04-22, by Christopher Haster [Fri, 22 Apr 2016 20:57:16 -0500] rev 11

Fix documentation of EventLoop