GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::jthread::~jthread(3) C++ Standard Libary std::jthread::~jthread(3)

std::jthread::~jthread - std::jthread::~jthread


~jthread(); (since C++20)


Destroys the jthread object.


If *this has an associated thread (joinable() == true), calls request_stop() and
then join().


The request_stop() has no effect if the jthread was previously requested to stop.


A jthread object does not have an associated thread after


* it was default-constructed
* it was moved from
* join() has been called
* detach() has been called


If join() throws an exception (e.g. because deadlock is detected), std::terminate()
may be called.

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.