TE
科技回声
首页
24小时热榜
最新
最佳
问答
展示
工作
中文
GitHub
Twitter
首页
Python threads: communication and stopping
40 点
作者
alexis-d
超过 13 年前
2 条评论
g3orge
超过 13 年前
I learn new things about Python every day.
oconnore
超过 13 年前
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 未加载