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

linux: use sd_notify_barrier if available #791

Merged
merged 1 commit into from
Nov 25, 2021

Conversation

giuseppe
Copy link
Member

If the sd_notify_barrier function is available, use it to synchronize
systemd notify notifications and make sure they were processed by
systemd.

Signed-off-by: Giuseppe Scrivano gscrivan@redhat.com

Copy link
Collaborator

@flouthoc flouthoc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, needs a clang-format though.

If the sd_notify_barrier function is available, use it to synchronize
systemd notify notifications and make sure they were processed by
systemd.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
@rhatdan
Copy link
Member

rhatdan commented Nov 25, 2021

Don't know where 30 seconds comes in but LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants