Share via


get_id Function

Uniquely identifies the current thread of execution.

thread::id this_thread::get_id() _NOEXCEPT;

Return Value

An object of type thread::id that uniquely identifies the current thread of execution.

Requirements

Header: thread

Namespace: std

See Also

Reference

<thread>

Other Resources

Header Files