This method returns the operating
system ID for the thread. This method is operating system-dependent.
Signaturesvoid* getOsHandle();
void* getOsHandle(void*& osHandle);
Parameters
for signature 2osHandle
Specifies the operating system handle
ReturnsThe
operating system ID for the thread
Notes- The second version of the method supports the DLL
version of the framework (COM).
- A real-time
operating system (RTOS) usually provides
a pointer to an ID or handle for the active thread. This is useful
if you need to know the ID of the real thread that is running, because
the object itself only "knows" that it is running on OMThread.