摘要:
std::thread_local是线程局部存储。每个线程都有一个对应备份,被std::thread_local修饰的变量生存周期和所属线程一致,线程被销毁该变量释放。 可以用以下代码观察: #include<iostream> #include<thread> using namespace st 阅读全文
摘要:
状态机: bbr算法主要流程: 代码: 1 /* Bottleneck Bandwidth and RTT (BBR) congestion control 2 * 3 * BBR congestion control computes the sending rate based on the d 阅读全文