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

PidfdChildWatcher runs callbacks on the main thread eventloop and not the currently running loop #94182

Open
graingert opened this issue Jun 23, 2022 · 0 comments
Labels
expert-asyncio type-bug

Comments

@graingert
Copy link
Contributor

@graingert graingert commented Jun 23, 2022

as of #93896 asyncio.Runner no longer calls asyncio.set_event_loop() and so the PidfdChildWatcher is never activated

this is unfortunate because it could run asyncio.get_running_loop().add_reader instead

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

No branches or pull requests

2 participants