threading problem

From: Murali K. Vemuri
Date: Wed Jun 22 2011 - 07:26:30 EST


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