Platform independent thread handle. Can be used to identify a thread.
Instance of CYIThreadHandle can be obtain through the CYIThread class:
You can also obtain the CYIThreadHandle of a running thread.
#include <thread/YiThreadHandle.h>
Public Member Functions | |
CYIThreadHandle () | |
CYIThreadHandle (CYIThreadHandlePriv *pPrivObj) | |
CYIThreadHandle (const CYIThreadHandle &hnd) | |
~CYIThreadHandle () | |
CYIThreadHandle & | operator= (const CYIThreadHandle &hnd) |
Friends | |
bool | operator== (const CYIThreadHandle &hnd1, const CYIThreadHandle &hnd2) |
bool | operator!= (const CYIThreadHandle &hnd1, const CYIThreadHandle &hnd2) |
CYIThreadHandle::CYIThreadHandle | ( | ) |
|
explicit |
CYIThreadHandle::CYIThreadHandle | ( | const CYIThreadHandle & | hnd | ) |
CYIThreadHandle::~CYIThreadHandle | ( | ) |
CYIThreadHandle& CYIThreadHandle::operator= | ( | const CYIThreadHandle & | hnd | ) |
|
friend |
|
friend |