get_current_thread_identity


unsigned get_current_thread_identity()

This function obtains the identity of the calling thread.

Return

unsigned

The identity of the thread calling this function.

Notes

The identity of a thread is unique throughout the system.