摘要: 协程上次已经讲解了协程的的实现方法,和我对协程的一些理解。这里指我就先以代码说明协程的运行。def test1(): print 12 (2) gr2.switch() (3) print 34 (6)def test2(): print 56 (4) gr1.switch() (5) print ... 阅读全文
posted @ 2015-08-02 15:37 tom_zhao_vip 阅读(537) 评论(0) 推荐(0) 编辑