Loading...
Searching...
No Matches
riot::thread_id Class Reference

implementation of thread::id More...

Detailed Description

implementation of thread::id

See also
thread::id

Definition at line 84 of file thread.hpp.

#include <thread.hpp>

Public Member Functions

 thread_id () noexcept
 Creates a uninitialized thread id.
 
 thread_id (kernel_pid_t handle)
 Create a thread id from a native handle.
 
bool operator== (thread_id other) noexcept
 Comparison operator for thread ids.
 
bool operator!= (thread_id other) noexcept
 Comparison operator for thread ids.
 
bool operator< (thread_id other) noexcept
 Comparison operator for thread ids.
 
bool operator<= (thread_id other) noexcept
 Comparison operator for thread ids.
 
bool operator> (thread_id other) noexcept
 Comparison operator for thread ids.
 
bool operator>= (thread_id other) noexcept
 Comparison operator for thread ids.
 

Friends

class thread
 
template<class T , class Traits >
std::basic_ostream< T, Traits > & operator<< (std::basic_ostream< T, Traits > &out, thread_id id)
 Enable printing of thread ids using output streams.
 

Constructor & Destructor Documentation

◆ thread_id() [1/2]

riot::thread_id::thread_id ( )
inlinenoexcept

Creates a uninitialized thread id.

Definition at line 95 of file thread.hpp.

◆ thread_id() [2/2]

riot::thread_id::thread_id ( kernel_pid_t  handle)
inlineexplicit

Create a thread id from a native handle.

Definition at line 99 of file thread.hpp.

Member Function Documentation

◆ operator!=()

bool riot::thread_id::operator!= ( thread_id  other)
inlinenoexcept

Comparison operator for thread ids.

Definition at line 110 of file thread.hpp.

◆ operator<()

bool riot::thread_id::operator< ( thread_id  other)
inlinenoexcept

Comparison operator for thread ids.

Definition at line 116 of file thread.hpp.

◆ operator<=()

bool riot::thread_id::operator<= ( thread_id  other)
inlinenoexcept

Comparison operator for thread ids.

Definition at line 122 of file thread.hpp.

◆ operator==()

bool riot::thread_id::operator== ( thread_id  other)
inlinenoexcept

Comparison operator for thread ids.

Definition at line 104 of file thread.hpp.

◆ operator>()

bool riot::thread_id::operator> ( thread_id  other)
inlinenoexcept

Comparison operator for thread ids.

Definition at line 128 of file thread.hpp.

◆ operator>=()

bool riot::thread_id::operator>= ( thread_id  other)
inlinenoexcept

Comparison operator for thread ids.

Definition at line 134 of file thread.hpp.

Friends And Related Symbol Documentation

◆ operator<<

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

Enable printing of thread ids using output streams.

Definition at line 1 of file thread.hpp.

◆ thread

friend class thread
friend

Definition at line 89 of file thread.hpp.


The documentation for this class was generated from the following file: