TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
Python threads: communication and stopping
40 points
by
alexis-d
over 13 years ago
2 comments
g3orge
over 13 years ago
I learn new things about Python every day.
oconnore
over 13 years ago
Collapse
The "politely ask it to stop" paradigm is not a solution. For it to work, your thread cannot perform any blocking calls, nor can it call out to any long running functions that are not specifically designed to check a stop flag frequently.
评论 #3396562 未加载
评论 #3396360 未加载