摘要: thread_local变量是C++ 11新引入的一种存储类型。它会影响变量的存储周期(Storage duration),C++中有4种存储周期:automaticstaticdynamicthread有且只有thread_local关键字修饰的变量具有线程周期(thread duration)... 阅读全文
posted @ 2016-01-12 00:00 _pop 阅读(23133) 评论(5) 推荐(4) 编辑