Skip to content

Update internal ASF Celix event loop to use libuv #770

Open
@pnoltes

Description

@pnoltes

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/frameworkCategorizes an issue or PR relevant to the framework.kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.kind/improvementCategorizes issue or PR as related to improvements.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions