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

Add a setup_notify handler and queue to nqp::signal #1445

Merged
merged 1 commit into from Mar 27, 2021

Conversation

niner
Copy link
Contributor

@niner niner commented Mar 20, 2021

Setting up a signal handler happens on the IO eventloop thread. Thus when
nqp::signal is done, one must not assume that the handler is already in place.
Add setup_notify_queue and setup_notify_schedulee arguments, so we can notify
the caller when the handler is setup to avoid race conditions.

Setting up a signal handler happens on the IO eventloop thread. Thus when
nqp::signal is done, one must not assume that the handler is already in place.
Add setup_notify_queue and setup_notify_schedulee arguments, so we can notify
the caller when the handler is setup to avoid race conditions.
@lizmat
Copy link
Contributor

lizmat commented Mar 24, 2021

Now that we have a 2021.03 release, is this ok to merge?

@niner niner merged commit c97af40 into master Mar 27, 2021
@Altai-man Altai-man deleted the signal_handler_setup_notification branch April 24, 2021 14:53
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

2 participants