summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_getthreadpriority.rst
blob: ff678c9938f8318662149cdc78aaab4a315d5c3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
PR_GetThreadPriority
====================

Returns the priority of a specified thread.


Syntax
------

.. code::

   #include <prthread.h>

   PRThreadPriority PR_GetThreadPriority(PRThread *thread);


Parameter
~~~~~~~~~

:ref:`PR_GetThreadPriority` has the following parameter:

``thread``
   A valid identifier for the thread whose priority you want to know.