-
Notifications
You must be signed in to change notification settings - Fork 912
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(userspace/falco): make signal handlers thread safe #2091
Conversation
73b94e9
to
eba0cfa
Compare
/milestone 0.33.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
LGTM label has been added. Git tree hash: bb7260a566fc78981eb218a7f87b1309a213dc94
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
…processing loop Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
…define exiting condition Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
eba0cfa
to
281d012
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
LGTM label has been added. Git tree hash: cface11b9ddbd6c6f31c961bb500a70d45ec5acb
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: FedeDP, jasondellaluce The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
What type of PR is this?
/kind design
kind feature
Any specific area of the project related to this PR?
/area engine
What this PR does / why we need it:
This PR refactors the signal handlers, and their effects, to be thread-safe. Thread-safety is not something we need right now, but it is preparatory for #2074.
Also, this defines a termination condition for the Falco output engine. Basically, a full queue would generally imply a deadlock for Falco, so we exit with an error in that case.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: