_spin_unlock(3synch) _spin_unlock(3synch)
NAME
_spin_unlock - unlock a spin lock
SYNOPSIS
cc [options] -Kthread file
void _spin_unlock(spin_t *lock);
Parameters
lock pointer to lock to be unlocked
DESCRIPTION
_spin_unlock unlocks the spin lock pointed to by lock.
If one or more threads are waiting for the lock when
_spin_unlock is called, one of the waiting threads will
acquire the lock.
Return Values
_spin_unlock does not return a value.
Errors
None
USAGE
Spin locks acquired with _spin_lock and _spin_trylock should
be released with _spin_unlock.
REFERENCES
_spin(3synch), _spin_destroy(3synch), _spin_init(3synch),
_spin_lock(3synch), _spin_trylock(3synch), synch(3synch)
Copyright 1994 Novell, Inc. Page 1