Class coro::pthread_joiner

Class List > coro > pthread_joiner

Special return type that wraps pthread_join __More...

  • #include <pthread.h>

Classes

Type Name
class promise_type

Public Functions

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

Detailed Description

See also: pthread_join

Public Functions Documentation

function operator pthread_t

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

Returns:

pthread_t

function operator=

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

function operator=

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

function pthread_joiner [2/3]

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

function pthread_joiner [3/3]

coro::pthread_joiner::pthread_joiner (
    pthread_joiner &&
) = default

function ~pthread_joiner

coro::pthread_joiner::~pthread_joiner () noexcept

See also: pthread_join

Exception:

  • system_error

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