Searched refs:PRRWLock (Results 1 - 3 of 3) sorted by relevance

/vbox/src/libs/xpcom18a4/nsprpub/pr/include/
H A Dprrwlock.h60 * PRRWLock --
62 * The reader writer lock, PRRWLock, is an opaque object to the clients
67 typedef struct PRRWLock PRRWLock; typedef in typeref:struct:PRRWLock
79 ** RETURN: PRRWLock*
84 NSPR_API(PRRWLock*) PR_NewRWLock(PRUint32 lock_rank, const char *lock_name);
90 ** INPUTS: PRRWLock *lock - Lock to be freed.
94 NSPR_API(void) PR_DestroyRWLock(PRRWLock *lock);
100 ** INPUTS: PRRWLock *lock - Lock to be read-locked.
104 NSPR_API(void) PR_RWLock_Rlock(PRRWLock *loc
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/threads/
H A Dprrwlock.c70 struct PRRWLock { struct
106 PRRWLock *trs_stack[_PR_RWLOCK_RANK_ORDER_LIMIT]; /* stack of lock
111 static void _PR_SET_THREAD_RWLOCK_RANK(PRRWLock *rwlock);
113 static void _PR_UNSET_THREAD_RWLOCK_RANK(PRRWLock *rwlock);
128 PR_IMPLEMENT(PRRWLock *)
131 PRRWLock *rwlock;
138 rwlock = PR_NEWZAP(PRRWLock);
198 PR_DestroyRWLock(PRRWLock *rwlock)
219 PR_RWLock_Rlock(PRRWLock *rwlock)
269 PR_RWLock_Wlock(PRRWLock *rwloc
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Drwlocktest.c64 PRRWLock *rwlock;
85 PRRWLock *rwlock1;

Completed in 148 milliseconds