Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor ASF Celix utils to use libuv time/clock api #772

Open
2 tasks
pnoltes opened this issue Oct 6, 2024 · 0 comments
Open
2 tasks

Refactor ASF Celix utils to use libuv time/clock api #772

pnoltes opened this issue Oct 6, 2024 · 0 comments
Labels
component/utils Categorizes an issue or PR relevant to the utils. kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API kind/improvement Categorizes issue or PR as related to improvements.
Milestone

Comments

@pnoltes
Copy link
Contributor

pnoltes commented Oct 6, 2024

Introduction

The utils api uses struct timespec and clockid_t. This should be replaced with uv_timeval64_t and uv_clock_id.
This will abstract the current Linux-specific implementation and make it cross-platform.

Steps

  • Replace ASF Celix public api usage of struct timespec and clockid_t with libuv altenatives.

  • Replace ASF Celix internal usage of struct timespec and clockid_t with libuv altenatives.

@pnoltes pnoltes added kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API component/utils Categorizes an issue or PR relevant to the utils. kind/improvement Categorizes issue or PR as related to improvements. labels Oct 6, 2024
@pnoltes pnoltes added this to the 3.0.0 milestone Oct 6, 2024
@rlenferink rlenferink changed the title Refactor ASF Celix utils to use libuv time/cock api Refactor ASF Celix utils to use libuv time/clock api Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/utils Categorizes an issue or PR relevant to the utils. kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API kind/improvement Categorizes issue or PR as related to improvements.
Projects
None yet
Development

No branches or pull requests

1 participant