threadlocal使用注意 线程变量threadlocal thread local什么时候使用?thread_local 是 C 11 新引入的一种存储类型,它会影响变量的存储周期。 C 中有 4 种存储周期: 有... 2021-03-17 1182次浏览