Class coro::pthread_detacher

Class List > coro > pthread_detacher

Special return type that wraps pthread_detach __

  • #include <pthread.h>

Classes

Type Name
class promise_type

Public Functions

Type Name
operator pthread_t () noexcept const
allow access to the tid __
pthread_detacher & operator= (const pthread_detacher &) = delete
pthread_detacher & operator= (pthread_detacher &&) = default
pthread_detacher (const pthread_detacher &) = delete
pthread_detacher (pthread_detacher &&) = default
~pthread_detacher () noexcept
try to detach the related thread

Public Functions Documentation

function operator pthread_t

inline coro::pthread_detacher::operator pthread_t () noexcept const

Returns:

pthread_t

function operator=

pthread_detacher & coro::pthread_detacher::operator= (
    const pthread_detacher &
) = delete

function operator=

pthread_detacher & coro::pthread_detacher::operator= (
    pthread_detacher &&
) = default

function pthread_detacher [2/3]

coro::pthread_detacher::pthread_detacher (
    const pthread_detacher &
) = delete

function pthread_detacher [3/3]

coro::pthread_detacher::pthread_detacher (
    pthread_detacher &&
) = default

function ~pthread_detacher

coro::pthread_detacher::~pthread_detacher () noexcept

See also: pthread_detach

Exception:

  • system_error

The documentation for this class was generated from the following file interface/coroutine/pthread.h