GitHunt
AL

alxvasilev/esp32-event

libuv implementation for esp32

esp32-event

This is a libuv-like eventloop library that monitors sockets for I/O events,
implements timers and a message queue.
The API is designed to be API compatible with the core libuv API -
uv_loop_t, uv_timer_t, uv_poll_t, uv_async_t. Additionally, it
has a 'control channel' that can wake up the event loop and pass it a message.
uv_async_t is implemented on top of that mechanism, but it also allows marshalling
arbitrary function calls via a message queue. A C++11 wrapper is implemented on
top of that that makes things more convenient and also allows the caller thread
to wait for the eventloop thread to return a value, thus implementing synchronous
marshalling.

Languages

C++59.2%C40.8%

Contributors

BSD 2-Clause "Simplified" License
Created February 7, 2018
Updated January 25, 2026