Exemplo n.º 1
0
void InitAllocatorThreadLocal() {
  for (std::set<AllocatorThreadLocalInit>::iterator it =
      GetAllocatorInitList().begin();
      it != GetAllocatorInitList().end(); it++) {
    (*it)();
  }
}
Exemplo n.º 2
0
void InitAllocatorThreadLocal() {
  for (auto& init : GetAllocatorInitList()) {
    init();
  }
  init_stringdata_allocator();
}