wait queues
michi1 at michaelblizek.twilightparadox.com
michi1 at michaelblizek.twilightparadox.com
Tue Apr 21 11:05:01 EDT 2015
Hi!
On 12:39 Mon 20 Apr , Ruben Safir wrote:
> On 04/20/2015 11:23 AM, michi1 at michaelblizek.twilightparadox.com wrote:
> > I would not recommend that. There are already functions in linux/wait.h for
> > these purposes like wait_event_interruptible().
>
>
> can you do that in the kernel? The wait_event_interuptable creates wait
> queues?
No, wait_event_interuptable waits on an existing waitqueue. If you want to
create a waitqueue, call init_waitqueue_head().
-Michi
--
programing a layer 3+4 network protocol for mesh networks
see http://michaelblizek.twilightparadox.com
More information about the Kernelnewbies
mailing list