Re: wait_event_* and wake_up_*

2014-07-23 Thread Pranith Kumar
On Jul 22, 2014 10:41 PM, "Mohammad Merajul Islam Molla" <
meraj.eni...@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  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
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: wait_event_* and wake_up_*

2014-07-22 Thread Mohammad Merajul Islam Molla
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  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

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


wait_event_* and wake_up_*

2014-07-22 Thread Pranith Kumar
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