Hello, Could someone point me to good documentation about the wait_event_* and wake_up_* event family APIs? I tried searching and nothing concrete shows up. In particular: When do we use wake_up_interruptible()? Does wake_up(wq) wake up all the threads which are waiting on that work queue? Is the waking up of threads sequential? That should suffice for now I guess :) Regards, -- Pranith
You may find this useful - http://www.makelinux.net/ldd3/chp-6-sect-2 -- Thanks, -Meraj On Wed, Jul 23, 2014 at 8:12 AM, Pranith Kumar <pranith@gatech.edu> wrote:
Hello,
Could someone point me to good documentation about the wait_event_* and wake_up_* event family APIs?
I tried searching and nothing concrete shows up.
In particular:
When do we use wake_up_interruptible()? Does wake_up(wq) wake up all the threads which are waiting on that work queue? Is the waking up of threads sequential?
That should suffice for now I guess :)
Regards, -- Pranith
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Jul 22, 2014 10:41 PM, "Mohammad Merajul Islam Molla" < meraj.enigma@gmail.com> wrote:
You may find this useful - http://www.makelinux.net/ldd3/chp-6-sect-2
Thanks Meraj, that is really helpful.
-- Thanks, -Meraj
On Wed, Jul 23, 2014 at 8:12 AM, Pranith Kumar <pranith@gatech.edu> wrote:
Hello,
Could someone point me to good documentation about the wait_event_* and wake_up_* event family APIs?
I tried searching and nothing concrete shows up.
In particular:
When do we use wake_up_interruptible()? Does wake_up(wq) wake up all the threads which are waiting on that work queue? Is the waking up of threads sequential?
That should suffice for now I guess :)
Regards, -- Pranith
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
participants (2)
-
Mohammad Merajul Islam Molla -
Pranith Kumar