You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This discussion was converted from issue #67 on December 15, 2020 11:05.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a pool of threads like this example:
https://github.com/jodal/pykka/blob/develop/examples/resolver.py
I want to catch a keyboard error to permit the user to gracefully shutdown the program with
ctrl-c
the problem is that I get an error like this
because I interrupt the process and the queue created by future is not empty
how I can gently shutdown pykka actors and queue with an exception???
my main look like this (i have a pair of extra thread)
Beta Was this translation helpful? Give feedback.
All reactions