FINISH_WAIT(9) Driver Basics FINISH_WAIT(9)NAMEfinish_wait - clean up after waiting in a queue
SYNOPSIS
void finish_wait(wait_queue_head_t * q, wait_queue_t * wait);
ARGUMENTS
q
waitqueue waited on
wait
wait descriptor
DESCRIPTION
Sets current thread back to running state and removes the wait
descriptor from the given waitqueue if still queued.
COPYRIGHTKernel Hackers Manual 3.8. June 2014 FINISH_WAIT(9)