Lines Matching refs:ThreadContextBase
34 class ThreadContextBase {
36 explicit ThreadContextBase(u32 tid);
37 ~ThreadContextBase(); // Should never be called.
50 ThreadContextBase *next; // For storing thread contexts in a list.
74 typedef ThreadContextBase* (*ThreadContextFactory)(u32 tid);
91 ThreadContextBase *GetThreadLocked(u32 tid) { in GetThreadLocked()
98 typedef void (*ThreadCallback)(ThreadContextBase *tctx, void *arg);
103 typedef bool (*FindThreadCallback)(ThreadContextBase *tctx, void *arg);
109 ThreadContextBase *FindThreadContextLocked(FindThreadCallback cb,
111 ThreadContextBase *FindThreadContextByOsIDLocked(uptr os_id);
136 ThreadContextBase **threads_; // Array of thread contexts is leaked.
137 IntrusiveList<ThreadContextBase> dead_threads_;
138 IntrusiveList<ThreadContextBase> invalid_threads_;
140 void QuarantinePush(ThreadContextBase *tctx);
141 ThreadContextBase *QuarantinePop();