# PR_GetThreadScope Gets the scoping of the current thread. ## Syntax ```{code} #include PRThreadScope PR_GetThreadScope(void); ``` ### Returns A value of type {ref}`PRThreadScope` indicating whether the thread is local or global.