Public Member Functions | Friends
efl::eina::thread_id Struct Reference

Thread identifier. More...

Public Member Functions

 thread_id () noexcept
 Creates a thread_id that represents all non-joinable.
 
 thread_id (Eina_Thread raw)
 

Friends

bool operator== (thread_id lhs, thread_id rhs)
 Check if two thread identifiers are the same. More...
 
bool operator!= (thread_id lhs, thread_id rhs)
 Check if two thread identifiers are different. More...
 
bool operator< (thread_id lhs, thread_id rhs)
 Less than comparison of thread identifiers. More...
 
template<typename charT , typename Traits >
std::basic_ostream< charT, Traits > & operator<< (std::basic_ostream< charT, Traits > &out, thread_id id)
 Inserts a textual representation in the given stream. More...
 

Detailed Description

Thread identifier.

Friends And Related Function Documentation

◆ operator==

bool operator== ( thread_id  lhs,
thread_id  rhs 
)
friend

Check if two thread identifiers are the same.

Returns
true if the thread identifiers have the same value.

◆ operator!=

bool operator!= ( thread_id  lhs,
thread_id  rhs 
)
friend

Check if two thread identifiers are different.

Returns
true if the thread identifiers have different values.

◆ operator<

bool operator< ( thread_id  lhs,
thread_id  rhs 
)
friend

Less than comparison of thread identifiers.

Parameters
lhsthread_id at the left side of the expression.
rhsthread_id at the right side of the expression.
Returns
true if lhs is less than rhs, false otherwise.
Note
The order established by relational operators is implementation-defined.

◆ operator<<

template<typename charT , typename Traits >
std::basic_ostream<charT, Traits>& operator<< ( std::basic_ostream< charT, Traits > &  out,
thread_id  id 
)
friend

Inserts a textual representation in the given stream.

Parameters
outOutput stream where the textual representation will be inserted.
idthread_id object.
Returns
Reference to the modified std::basic_ostream object.