I can find many examples regarding wait_queue_head . It works as a signal, creates wait_queue_head , someone can sleep using it until someone kicks it out.
But I cannot find a good example of using wait_queue itself, supposedly very related to it.
Can anyone set an example or under the hood?
linux queue wait
jaeyong
source share