Python-100-Days icon indicating copy to clipboard operation
Python-100-Days copied to clipboard

解决issue#1008,补充关于多进程的示例

Open huicod opened this issue 9 months ago • 0 comments

原本的示例中如果在start = time()前 sleep(5), 那么最后的结果容易为0。也就是说在计时前进程任务就已经开始计算求和了,所以我加入一个Event 来同步所有的进程。

huicod avatar May 29 '24 12:05 huicod