'\" t .\" Title: finish_wait .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Driver Basics .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "FINISH_WAIT" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Driver Basics" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" finish_wait \- clean up after waiting in a queue .SH "SYNOPSIS" .HP \w'void\ finish_wait('u .BI "void finish_wait(wait_queue_head_t\ *\ " "q" ", wait_queue_t\ *\ " "wait" ");" .SH "ARGUMENTS" .PP \fIq\fR .RS 4 waitqueue waited on .RE .PP \fIwait\fR .RS 4 wait descriptor .RE .SH "DESCRIPTION" .PP Sets current thread back to running state and removes the wait descriptor from the given waitqueue if still queued\&. .SH "COPYRIGHT" .br