Namespaces
Variants
Views
Actions

std::thread::id::id

From cppreference.com
< cpp‎ | thread‎ | thread‎ | id
Revision as of 19:13, 9 December 2012 by 67.49.108.161 (Talk)

 
 
Thread support library
Threads
(C++11)
this_thread namespace
(C++11)
(C++11)
(C++11)
Mutual exclusion
(C++11)
Generic lock management
(C++11)
(C++11)
(C++11)
(C++11)(C++11)(C++11)
(C++11)
(C++11)
Condition variables
(C++11)
Futures
(C++11)
(C++11)
(C++11)
(C++11)
 
 
 

Template:ddcl list begin <tr class="t-dcl-sep"><td></td><td></td><td></td></tr>

<tr class="t-dcl ">

<td >
id();
</td>

<td class="t-dcl-nopad"> </td> <td > (since C++11) </td> </tr> Template:ddcl list end

Default-constructs a new thread identifier. The identifier does not represent a thread.

Parameters

(none)

Exceptions

noexcept specification:  
noexcept