GDB (xrefs)
|
#include "thread-iter.h"
Public Types | |
typedef all_matching_threads_iterator | self_type |
typedef struct thread_info * | value_type |
typedef struct thread_info *& | reference |
typedef struct thread_info ** | pointer |
typedef std::forward_iterator_tag | iterator_category |
typedef int | difference_type |
Public Member Functions | |
all_matching_threads_iterator (process_stratum_target *filter_target, ptid_t filter_ptid) | |
all_matching_threads_iterator ()=default | |
thread_info * | operator* () const |
all_matching_threads_iterator & | operator++ () |
bool | operator== (const all_matching_threads_iterator &other) const |
bool | operator!= (const all_matching_threads_iterator &other) const |
Private Types | |
enum class | mode { ALL_THREADS , ALL_THREADS_OF_INFERIOR , SINGLE_THREAD } |
Private Member Functions | |
void | advance () |
bool | m_inf_matches () |
Private Attributes | |
enum all_matching_threads_iterator::mode | m_mode |
inferior * | m_inf = nullptr |
thread_info * | m_thr = nullptr |
process_stratum_target * | m_filter_target |
Definition at line 85 of file thread-iter.h.
typedef int all_matching_threads_iterator::difference_type |
Definition at line 93 of file thread-iter.h.
typedef std::forward_iterator_tag all_matching_threads_iterator::iterator_category |
Definition at line 92 of file thread-iter.h.
typedef struct thread_info** all_matching_threads_iterator::pointer |
Definition at line 91 of file thread-iter.h.
typedef struct thread_info*& all_matching_threads_iterator::reference |
Definition at line 90 of file thread-iter.h.
Definition at line 88 of file thread-iter.h.
typedef struct thread_info* all_matching_threads_iterator::value_type |
Definition at line 89 of file thread-iter.h.
|
strongprivate |
Enumerator | |
---|---|
ALL_THREADS | |
ALL_THREADS_OF_INFERIOR | |
SINGLE_THREAD |
Definition at line 125 of file thread-iter.h.
all_matching_threads_iterator::all_matching_threads_iterator | ( | process_stratum_target * | filter_target, |
ptid_t | filter_ptid ) |
Definition at line 84 of file thread-iter.c.
References ALL_THREADS, ALL_THREADS_OF_INFERIOR, find_inferior_pid(), process_stratum_target::find_thread(), inferior_list, m_inf, m_inf_matches(), m_mode, m_thr, SINGLE_THREAD, and inferior::thread_list.
|
default |
|
private |
Definition at line 133 of file thread-iter.c.
References ALL_THREADS, ALL_THREADS_OF_INFERIOR, inferior_list, m_inf, m_inf_matches(), m_mode, m_thr, SINGLE_THREAD, and inferior::thread_list.
Referenced by operator++().
|
private |
Definition at line 76 of file thread-iter.c.
References m_filter_target, m_inf, and inferior::process_target().
Referenced by advance(), and all_matching_threads_iterator().
|
inline |
Definition at line 114 of file thread-iter.h.
References m_thr.
|
inline |
Definition at line 103 of file thread-iter.h.
References m_thr.
|
inline |
Definition at line 105 of file thread-iter.h.
References advance().
|
inline |
Definition at line 111 of file thread-iter.h.
References m_thr.
|
private |
Definition at line 144 of file thread-iter.h.
Referenced by m_inf_matches().
Definition at line 138 of file thread-iter.h.
Referenced by advance(), all_matching_threads_iterator(), and m_inf_matches().
|
private |
Referenced by advance(), and all_matching_threads_iterator().
|
private |
Definition at line 141 of file thread-iter.h.
Referenced by advance(), all_matching_threads_iterator(), operator!=(), operator*(), and operator==().