Lines Matching defs:ThreadContextBase
20 ThreadContextBase::ThreadContextBase(u32 tid)
36 ThreadContextBase::~ThreadContextBase() {
37 // ThreadContextBase should never be deleted.
41 void ThreadContextBase::SetName(const char *new_name) {
49 void ThreadContextBase::SetDead() {
56 void ThreadContextBase::SetDestroyed() {
60 bool ThreadContextBase::GetDestroyed() {
64 void ThreadContextBase::SetJoined(void *arg) {
73 void ThreadContextBase::SetFinished() {
83 void ThreadContextBase::SetStarted(tid_t _os_id, ThreadType _thread_type,
91 void ThreadContextBase::SetCreated(uptr _user_id, u64 _unique_id,
106 void ThreadContextBase::Reset() {
153 ThreadContextBase *tctx = QuarantinePop();
197 ThreadContextBase *tctx = threads_[tid];
207 ThreadContextBase *tctx = threads_[tid];
214 ThreadContextBase *ThreadRegistry::FindThreadContextLocked(
218 ThreadContextBase *tctx = threads_[tid];
225 static bool FindThreadContextByOsIdCallback(ThreadContextBase *tctx,
231 ThreadContextBase *ThreadRegistry::FindThreadContextByOsIDLocked(tid_t os_id) {
238 ThreadContextBase *tctx = threads_[tid];
253 ThreadContextBase *tctx = threads_[tid];
275 ThreadContextBase *tctx = threads_[tid];
302 ThreadContextBase *tctx = threads_[tid];
329 ThreadContextBase *tctx = threads_[tid];
335 void ThreadRegistry::QuarantinePush(ThreadContextBase *tctx) {
351 ThreadContextBase *ThreadRegistry::QuarantinePop() {
354 ThreadContextBase *tctx = invalid_threads_.front();
374 ThreadContextBase *tctx = threads_[tid];
388 // Potentially we could purge more info (ThreadContextBase themselves),