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

loadavg: make cleanup of start_loadavg #612

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

mihalicyn
Copy link
Member

Cleanup start_loadavg code:

  • add a new external symbol load_daemon_v2 with the pthread_create-like signature
  • make hacky casts of pthread_t to int (and reverse) unnecessary for new API users

Related to: #610

Cleanup start_loadavg code:
- add a new external symbol load_daemon_v2 with the pthread_create-like signature
- make hacky casts of pthread_t to int (and reverse) unnecessary for new API users

Related to: lxc#610

Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
@stgraber stgraber merged commit 87a2fe9 into lxc:main Sep 29, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants