apache / apache/celix

Update internal ASF Celix event loop to use libuv

Open
#770 0 comments 0 reactions 0 assignees View on GitHub
component/framework kind/cleanup kind/improvement
Dominant language
C
Stars
193
Forks
99
Avg merge
1m
Merged PRs (30d)
1

Description

# 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

- [ ] Replace internal event Loop with libuv event loop

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.

- [ ] Update the scheduled event implementation for libuv

Also update the scheduled event implementation to make use of libuv. Including usage of `uv_timer_t` if feasible.

- [ ] Update the celix shutdown procedure for the updated `uv_loop_t`

If feasible simplify the celix shutdown procedure using libuv.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.