prlock.rst (359B)
1 PRLock 2 ====== 3 4 A mutual exclusion lock. 5 6 7 Syntax 8 ------ 9 10 .. code:: 11 12 #include <prlock.h> 13 14 typedef struct PRLock PRLock; 15 16 17 Description 18 ----------- 19 20 NSPR represents a lock as an opaque entity to clients of the functions 21 described in `"Locks" <en/NSPR_API_Reference/Locks>`__. Functions that 22 operate on locks do not have timeouts and are not interruptible.