lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 22 Jun 2011 15:07:00 +0300
From:	Daniel Baluta <daniel.baluta@...il.com>
To:	"Murali K. Vemuri" <vemuri.muralikrishna@...il.com>
Cc:	linux-kernel@...r.kernel.org,
	kernelnewbies <kernelnewbies@...nelnewbies.org>
Subject: Re: threading problem

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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ