我从这篇非常好的文章中读到了编程的线程模型与异步模型.http://krondo.com/blog/?p=1209
但是,文章提到了以下几点.
我记得通过在Ready-Queue和Waiting-Queue(以及其他队列之间)之间移动TCB来读取线程由操作系统管理.在这种情况下,线程不会浪费时间等待它们吗?
鉴于上述情况,异步程序相对于线程程序有什么优势?
asynchronous twisted
asynchronous ×1
twisted ×1