get_thread_priority


int get_thread_priority(handle thread)

This function obtains the priority of the thread.

Parameters

handle thread

The handle of the thread whose priority is to be obtained.

Return

int

The thread's priority. This may be one of the values in the enumeration thread_priority.

Notes

The actual dispatching priority is determined by combining the:

The priority class may be queried and adjusted using the methods: