lkml.org 
[lkml]   [2011]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subjectthreading problem
From
Hello there,

I have a device driver which provides the IOCTL function for the
application to interact.

when the application sends the IOCTL CMD_GO, my driver has to toggle a
GPIO every 500 m Sec. until a 3 minute timeout occurs or a CMD_STOP
IOCTL is received.

I tried the DECLARE_WORK, DECLARE_DELAYED_WORK and also
kernel_thread() to meet this requirement with no success.

Any help is highly appreciated.

Thanks & regards
Murali


\
 
 \ /
  Last update: 2011-06-22 13:29    [W:0.041 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site