40 ptid_t () noexcept =
default;
53 constexpr
int pid ()
const 59 {
return m_lwp != 0; }
63 constexpr
long lwp ()
const 69 {
return m_tid != 0; }
73 constexpr
long tid ()
const 101 return !(*
this == other);
128 {
return ptid_t (0, 0, 0); }
133 {
return ptid_t (-1, 0, 0); }
int ptid_tid_p(const ptid_t &ptid)
constexpr int pid() const
constexpr long lwp() const
ptid_t ptid_build(int pid, long lwp, long tid)
constexpr bool matches(const ptid_t &filter) const
ptid_t pid_to_ptid(int pid)
ptid_t() noexcept=default
constexpr bool operator==(const ptid_t &other) const
constexpr bool tid_p() const
static constexpr ptid_t make_null()
long ptid_get_lwp(const ptid_t &ptid)
int ptid_equal(const ptid_t &ptid1, const ptid_t &ptid2)
constexpr bool lwp_p() const
long ptid_get_tid(const ptid_t &ptid)
constexpr bool is_pid() const
int ptid_lwp_p(const ptid_t &ptid)
constexpr long tid() const
constexpr ptid_t(int pid, long lwp=0, long tid=0)
static constexpr ptid_t make_minus_one()
int ptid_is_pid(const ptid_t &ptid)
int ptid_match(const ptid_t &ptid, const ptid_t &filter)
constexpr bool operator!=(const ptid_t &other) const
int ptid_get_pid(const ptid_t &ptid)