Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
std::jthrea..._stop_token(3)  C++ Standard Libary std::jthrea..._stop_token(3)

NAME
       std::jthread::get_stop_token - std::jthread::get_stop_token

Synopsis
	  std::stop_token get_stop_token() const noexcept;  (since C++20)

	  Returns a std::stop_token associated with the	same shared stop-state
       held internally
	  by the jthread object.

Parameters
	  (none)

Return value
	  A  value of type std::stop_token associated with stop-state held in-
       ternally	by
	  jthread object.

Example
	   This	section	is incomplete
	   Reason: no example

http://cppreference.com		  2022.07.31	  std::jthrea..._stop_token(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::jthread::get_stop_token&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help