Home | History | Annotate | Download | only in sanitizer_common

Lines Matching refs:ThreadContextBase

19 ThreadContextBase::ThreadContextBase(u32 tid)
25 ThreadContextBase::~ThreadContextBase() {
26 // ThreadContextBase should never be deleted.
30 void ThreadContextBase::SetName(const char *new_name) {
38 void ThreadContextBase::SetDead() {
46 void ThreadContextBase::SetJoined(void *arg) {
55 void ThreadContextBase::SetFinished() {
61 void ThreadContextBase::SetStarted(uptr _os_id, void *arg) {
67 void ThreadContextBase::SetCreated(uptr _user_id, u64 _unique_id,
79 void ThreadContextBase::Reset() {
101 threads_ = (ThreadContextBase **)MmapOrDie(max_threads_ * sizeof(threads_[0]),
124 ThreadContextBase *tctx = QuarantinePop();
155 ThreadContextBase *tctx = threads_[tid];
165 ThreadContextBase *tctx = threads_[tid];
172 ThreadContextBase *
176 ThreadContextBase *tctx = threads_[tid];
183 static bool FindThreadContextByOsIdCallback(ThreadContextBase *tctx,
189 ThreadContextBase *ThreadRegistry::FindThreadContextByOsIDLocked(uptr os_id) {
197 ThreadContextBase *tctx = threads_[tid];
206 ThreadContextBase *tctx = threads_[tid];
223 ThreadContextBase *tctx = threads_[tid];
240 ThreadContextBase *tctx = threads_[tid];
254 ThreadContextBase *tctx = threads_[tid];
260 void ThreadRegistry::QuarantinePush(ThreadContextBase *tctx) {
271 ThreadContextBase *ThreadRegistry::QuarantinePop() {
274 ThreadContextBase *tctx = invalid_threads_.front();