kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: daniel.baluta@gmail.com (Daniel Baluta)
To: kernelnewbies@lists.kernelnewbies.org
Subject: threading problem
Date: Wed, 22 Jun 2011 15:07:00 +0300	[thread overview]
Message-ID: <BANLkTiksk02_SmP8ZWP8J4w0kPCdVr15mw@mail.gmail.com> (raw)
In-Reply-To: <BANLkTinSFErFBaZgeL4x1oiaw7woewUNVQ@mail.gmail.com>

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.

           reply	other threads:[~2011-06-22 12:07 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <BANLkTinSFErFBaZgeL4x1oiaw7woewUNVQ@mail.gmail.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BANLkTiksk02_SmP8ZWP8J4w0kPCdVr15mw@mail.gmail.com \
    --to=daniel.baluta@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).