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

Fix async callbacks in conjunction with fork() #888

Merged
merged 1 commit into from Mar 5, 2021

Conversation

larskanis
Copy link
Member

After fork() the dispatcher thread is no longer running, so it needs to be restarted in the child process.

Fixes #884

After fork() the dispatcher thread is no longer running, so it needs to be restarted in the child process.

Fixes ffi#884
@larskanis larskanis merged commit 05537c7 into ffi:master Mar 5, 2021
This was referenced Mar 8, 2021
This was referenced Mar 16, 2021
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.

Async callbacks break after forking if async_cb_thread gets started before forking
1 participant