-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
- A thread named MainThread doesn't always exist (see fix crochet crashing when MainThread isn't available when _shutdown module is loaded #69, some comments crochet doesn’t work with uWSGI #78).
- Shutting down when the main thread exits may be the wrong thing to do; perhaps the main thread starts a thread pool of workers and then exits.
Perhaps it would be better to just set all the crochet threads to be daemon threads.
Downsides:
- No reactor shutdown events.
- An occasional segfault? Though maybe modern Python is better than that.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels