I am trying to learn how to program loadable kernel modules for linux. I was wondering if anyone could tell me what the functions sleep_on
and wake_up
do?
In examples I am looking at &WaitQ
is always passed into them and
static DECLARE_WAIT_QUEUE_HEAD(WaitQ);
is declared at the top of the module.