Home | History | Annotate | Download | only in sanitizer_common

Lines Matching defs:ThreadContextBase

19 ThreadContextBase::ThreadContextBase(u32 tid)
26 ThreadContextBase::~ThreadContextBase() {
27 // ThreadContextBase should never be deleted.
31 void ThreadContextBase::SetName(const char *new_name) {
39 void ThreadContextBase::SetDead() {
47 void ThreadContextBase::SetJoined(void *arg) {
56 void ThreadContextBase::SetFinished() {
62 void ThreadContextBase::SetStarted(uptr _os_id, void *arg) {
68 void ThreadContextBase::SetCreated(uptr _user_id, u64 _unique_id,
80 void ThreadContextBase::Reset() {
102 threads_ = (ThreadContextBase **)MmapOrDie(max_threads_ * sizeof(threads_[0]),
125 ThreadContextBase *tctx = QuarantinePop();
161 ThreadContextBase *tctx = threads_[tid];
171 ThreadContextBase *tctx = threads_[tid];
178 ThreadContextBase *
182 ThreadContextBase *tctx = threads_[tid];
189 static bool FindThreadContextByOsIdCallback(ThreadContextBase *tctx,
195 ThreadContextBase *ThreadRegistry::FindThreadContextByOsIDLocked(uptr os_id) {
203 ThreadContextBase *tctx = threads_[tid];
212 ThreadContextBase *tctx = threads_[tid];
224 ThreadContextBase *tctx = threads_[tid];
242 ThreadContextBase *tctx = threads_[tid];
259 ThreadContextBase *tctx = threads_[tid];
273 ThreadContextBase *tctx = threads_[tid];
279 void ThreadRegistry::QuarantinePush(ThreadContextBase *tctx) {
295 ThreadContextBase *ThreadRegistry::QuarantinePop() {
298 ThreadContextBase *tctx = invalid_threads_.front();