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

Gets the scoping of the current thread.


Syntax
------

.. code::

   #include <prthread.h>

   PRThreadScope PR_GetThreadScope(void);


Returns
~~~~~~~

A value of type :ref:`PRThreadScope` indicating whether the thread is local
or global.