哪个是c ++ boost线程库使用的线程模型?
1:1 (Kernel-level threading)
N:1 (User-level threading)
M:N (Hybrid threading)
这些模型之间的区别(来自wiki):http://en.wikipedia.org/wiki/Thread_ (computing)#Models
我检查了boost站点,并没有提到它使用的线程模型.
我猜这是一个1:1,因为它不提供像yield
或的功能reschedule
,但我不确定...