std::thread.3cxx

Langue: en

Autres versions - même langue

Version: 360792 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

std::thread -

thread

SYNOPSIS


Classes


class id
thread::id

Public Types


typedef shared_ptr< _Impl_base > __shared_base_type

typedef __gthread_t native_handle_type

Public Member Functions


void detach ()

thread::id get_id () const

void join ()

bool joinable () const

native_handle_type native_handle ()

thread & operator= (const thread &)

thread & operator= (thread &&__t)

void swap (thread &&__t)

template<typename _Callable > thread (_Callable __f)

template<typename _Callable , typename... _Args> thread (_Callable &&__f, _Args &&...__args)

thread (const thread &)

thread (thread &&__t)

Static Public Member Functions


static unsigned int hardware_concurrency ()

Detailed Description

thread

Definition at line 60 of file thread.

Member Function Documentation

native_handle_type std::thread::native_handle () [inline]Precondition:

thread is joinable

Definition at line 172 of file thread.

Author

Generated automatically by Doxygen for libstdc++ from the source code.