Searched refs:ThreadEntry (Results 1 – 4 of 4) sorted by relevance
/system/core/libbacktrace/ |
D | ThreadEntry.cpp | 28 ThreadEntry* ThreadEntry::list_ = nullptr; 29 pthread_mutex_t ThreadEntry::list_mutex_ = PTHREAD_MUTEX_INITIALIZER; 33 ThreadEntry::ThreadEntry(pid_t pid, pid_t tid) in ThreadEntry() function in ThreadEntry 36 next_(ThreadEntry::list_), prev_(nullptr) { in ThreadEntry() 43 if (ThreadEntry::list_) { in ThreadEntry() 44 ThreadEntry::list_->prev_ = this; in ThreadEntry() 46 ThreadEntry::list_ = this; in ThreadEntry() 49 ThreadEntry* ThreadEntry::Get(pid_t pid, pid_t tid, bool create) { in Get() 50 pthread_mutex_lock(&ThreadEntry::list_mutex_); in Get() 51 ThreadEntry* entry = list_; in Get() [all …]
|
D | ThreadEntry.h | 24 class ThreadEntry { 26 static ThreadEntry* Get(pid_t pid, pid_t tid, bool create = true); 28 static void Remove(ThreadEntry* entry); 51 ThreadEntry(pid_t pid, pid_t tid); 52 ~ThreadEntry(); 63 ThreadEntry* next_; 64 ThreadEntry* prev_; 67 static ThreadEntry* list_;
|
D | BacktraceCurrent.cpp | 97 ThreadEntry* entry = ThreadEntry::Get(getpid(), gettid(), false); in SignalHandler() 127 ThreadEntry* entry = ThreadEntry::Get(Pid(), Tid()); in UnwindThread() 137 ThreadEntry::Remove(entry); in UnwindThread() 145 ThreadEntry::Remove(entry); in UnwindThread() 175 ThreadEntry::Remove(entry); in UnwindThread()
|
D | Android.mk | 49 ThreadEntry.cpp \
|