Home | History | Annotate | Download | only in lib

Lines Matching refs:Lock

1 /*	$NetBSD: lock.c,v 1.1.1.1 2014/04/01 16:16:06 jakllsch Exp $	*/
9 lock.c
27 IN OUT FLOCK *Lock,
34 Initialize a basic mutual exclusion lock. Each lock
37 multiprocessor support, acquiring the lock only consists
40 Note on a debug build the lock is acquired and released
45 Lock - The FLOCK structure to initialize
47 Priority - The task priority level of the lock
52 An initialized F Lock structure.
56 Lock->Tpl = Priority;
57 Lock->OwnerTpl = 0;
58 Lock->Lock = 0;
64 IN FLOCK *Lock
71 lock, and then acquires ownership of the lock.
75 Lock - The lock to acquire
79 Lock owned
83 RtAcquireLock (Lock);
89 IN FLOCK *Lock
95 Releases ownership of the mutual exclusion lock, and
100 Lock - The lock to release
104 Lock unowned
108 RtReleaseLock (Lock);