摘要: 比如在libgo中的函数 Processer* & Processer::GetCurrentProcesser() { static thread_local Processer *proc = nullptr; return proc; } 然后给proc赋值可以用 struct Process 阅读全文
posted @ 2023-02-08 16:06 heisse 阅读(5) 评论(0) 推荐(0) 编辑