carb::this_thread::get

Defined in carb/thread/Util.h

inline thread::NativeHandleType carb::this_thread::get()

Returns the native handle for the current thread.

Note

Windows: This handle is not unique to the thread but instead is a pseudo-handle representing “current thread”. To obtain a unique handle to the current thread, use the Windows API function DuplicateHandle().

Returns

The native handle for the current thread.