.TH unlock() "" "" "Internal Kernel Routine"
.PC "Unlock a gate"
.B "#include <sys/types.h>"
\fBvoid unlock(\fIg\^\fB)\fR
\fBGATE \fIg\^\fB;\fR
.PP
.B unlock()
unlocks gate \fIg\fR.
When the gate of a system resource is locked, no other processes can use it.
Unlocking a gate allows the kernel to reschedule processes
that had previously been blocked.
.SH "See Also"
.B
internal kernel routines,
lock()
.R
