April 21, 2015
3:05 p.m.
Hi! On 12:39 Mon 20 Apr , Ruben Safir wrote:
On 04/20/2015 11:23 AM, michi1@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