摘要: import timefrom threading import Threaddef long_io(cb): def func(callback): print("开始耗时操作io") time.sleep(5) print("io耗时操作完成") res = "io res" callback( 阅读全文
posted @ 2020-04-11 22:26 以赛亚 阅读(3221) 评论(0) 推荐(0) 编辑