Intro
This ticket focuses on the internal implementation changes related to Celix’s event loop and how libuv can be leveraged internally to simplify platform abstraction.
Ideally this can be done without breaking the public API.
Steps
Modify the internal Celix event thread implementation to use libuv's event loop (uv_loop_t). This will abstract the current Linux-specific implementation and make it cross-platform.
Also update the scheduled event implementation to make use of libuv. Including usage of uv_timer_t if feasible.
If feasible simplify the celix shutdown procedure using libuv.
Intro
This ticket focuses on the internal implementation changes related to Celix’s event loop and how libuv can be leveraged internally to simplify platform abstraction.
Ideally this can be done without breaking the public API.
Steps
Modify the internal Celix event thread implementation to use libuv's event loop (
uv_loop_t). This will abstract the current Linux-specific implementation and make it cross-platform.Also update the scheduled event implementation to make use of libuv. Including usage of
uv_timer_tif feasible.uv_loop_tIf feasible simplify the celix shutdown procedure using libuv.