It is only used in the LSAN specific part.
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D140109
void RunCallbackForEachThreadLocked(__sanitizer::ThreadRegistry::ThreadCallback cb,
void *arg);
-void FinishThreadLocked(u32 tid);
//// --------------------------------------------------------------------------
//// Allocator prototypes.
// On success, there is nothing to do here.
if (error != thrd_success) {
// Clean up the thread registry for the thread creation that didn't happen.
- FinishThreadLocked(tid);
+ GetLsanThreadRegistryLocked()->FinishThread(tid);
}
}
GetLsanThreadRegistryLocked()->RunCallbackForEachThreadLocked(cb, arg);
}
-void FinishThreadLocked(u32 tid) {
- GetLsanThreadRegistryLocked()->FinishThread(tid);
-}
-
} // namespace __lsan