摘要:
<python的线程与threading模块> 一 线程的两种调用方式 threading 模块建立在thread 模块之上。thread模块以低级、原始的方式来处理和控制线程,而threading 模块通过对thread进行二次封装, 提供了更方便的api来处理线程。 直接调用: 继承式调用: 二 阅读全文
posted @ 2018-05-08 13:57 思南cx 阅读(146) 评论(0) 推荐(0)
|
|||
|
摘要:
<python的线程与threading模块> 一 线程的两种调用方式 threading 模块建立在thread 模块之上。thread模块以低级、原始的方式来处理和控制线程,而threading 模块通过对thread进行二次封装, 提供了更方便的api来处理线程。 直接调用: 继承式调用: 二 阅读全文
posted @ 2018-05-08 13:57 思南cx 阅读(146) 评论(0) 推荐(0) |
|||