cgGetLockingPolicy
Keywords: cgGetLockingPolicy, NVIDIA, NVIDIA Cg Toolkit, Cg Toolkit, Shader, Shader Programming, GPU Shader Programming, GPU Program

> ## Name

> cgGetLockingPolicy - get locking policy

> ## Synopsis

>     #include <Cg/cg.h>

>     CGenum cgGetLockingPolicy( void );

> ## Parameters

> None.

> ## Return Values

> Returns an enumerant indicating the current locking policy.

> ## Description

> cgGetLockingPolicy returns an enumerant indicating the current locking policy for the library. See cgSetLockingPolicy for more information.

> ## Examples

>       CGenum currentLockingPolicy = cgGetLockingPolicy();

> ## Errors

> None.

> ## History

> cgGetLockingPolicy was introduced in Cg 2.0.

> ## See Also

> cgSetLockingPolicy