guts
Loading...
Searching...
No Matches
jthread_alias Class Reference

#include <gthreads.h>

Collaboration diagram for jthread_alias:
Collaboration graph

Public Member Functions

 jthread_alias () noexcept=default
 
template<class F , class... Args>
 jthread_alias (F &&f, Args &&... args)
 
 jthread_alias (jthread_alias &&) noexcept=default
 
jthread_aliasoperator= (jthread_alias &&) noexcept=default
 
 jthread_alias (const jthread_alias &)=delete
 
jthread_aliasoperator= (const jthread_alias &)=delete
 
 ~jthread_alias ()
 
bool joinable () const noexcept
 
void join ()
 
void detach ()
 
std::thread::id get_id () const noexcept
 
auto native_handle ()
 
void swap (jthread_alias &other) noexcept
 

Detailed Description

Definition at line 19 of file gthreads.h.

Constructor & Destructor Documentation

◆ jthread_alias() [1/4]

jthread_alias::jthread_alias ( )
defaultnoexcept

◆ jthread_alias() [2/4]

template<class F , class... Args>
jthread_alias::jthread_alias ( F && f,
Args &&... args )
inlineexplicit

Definition at line 25 of file gthreads.h.

◆ jthread_alias() [3/4]

jthread_alias::jthread_alias ( jthread_alias && )
defaultnoexcept

◆ jthread_alias() [4/4]

jthread_alias::jthread_alias ( const jthread_alias & )
delete

◆ ~jthread_alias()

jthread_alias::~jthread_alias ( )
inline

Definition at line 34 of file gthreads.h.

Member Function Documentation

◆ detach()

void jthread_alias::detach ( )
inline

Definition at line 39 of file gthreads.h.

◆ get_id()

std::thread::id jthread_alias::get_id ( ) const
inlinenoexcept

Definition at line 40 of file gthreads.h.

◆ join()

void jthread_alias::join ( )
inline

Definition at line 38 of file gthreads.h.

◆ joinable()

bool jthread_alias::joinable ( ) const
inlinenoexcept

Definition at line 37 of file gthreads.h.

◆ native_handle()

auto jthread_alias::native_handle ( )
inline

Definition at line 41 of file gthreads.h.

◆ operator=() [1/2]

jthread_alias & jthread_alias::operator= ( const jthread_alias & )
delete

◆ operator=() [2/2]

jthread_alias & jthread_alias::operator= ( jthread_alias && )
defaultnoexcept

◆ swap()

void jthread_alias::swap ( jthread_alias & other)
inlinenoexcept

Definition at line 42 of file gthreads.h.


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