kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* threading problem
       [not found] <BANLkTinSFErFBaZgeL4x1oiaw7woewUNVQ@mail.gmail.com>
@ 2011-06-22 12:07 ` Daniel Baluta
  0 siblings, 0 replies; only message in thread
From: Daniel Baluta @ 2011-06-22 12:07 UTC (permalink / raw)
  To: kernelnewbies

Hello Murali,

> 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.
>

Could you please show us the code?

thanks,
Daniel.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-06-22 12:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <BANLkTinSFErFBaZgeL4x1oiaw7woewUNVQ@mail.gmail.com>
2011-06-22 12:07 ` threading problem Daniel Baluta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).