lkml.org 
[lkml]   [2005]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectTimers to threads
 Dear Sir/Mam
We are using Linux in one of our embedded products.This is the first time we are working in this Platform.We have few doubts regarding implementing s/w timers & how to pass the timer interrupts to threads .
In net we coudnt find exactly what we want .Could you please help us in this regard?

Ideas from us
1. If we want a thread to execute at particular intervals should it be done only through
usleep() system call ? Will it be accurate enough ?
Because it is a real time design for a Medical Product.

2. If we use kernel timers to invoke at particular time intervals using add_timer () how to pass on to the application that the time has elapsed?

A piece of code demonstartion would be much more helpful to us

Thanks & Regards,
Reefath Banu Rajali
Software Engineer
Larsen & Toubro
Embedded Systems & Software
Mysore
India


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

\
 
 \ /
  Last update: 2005-04-06 13:31    [W:0.034 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site