What to call this type of timer?

Status
Not open for further replies.

mike_r

Newbie level 3
Joined
Dec 13, 2007
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,300
I'm adding a new safety mechanism to an RTOS. It's a count-down timer which is decremented by the kernel, and when it reaches zero it signals that a task should exit.

For example, a task that normally takes 1000 ticks to complete could allocate one of these timers with a value of 2000. Then, when the value reaches zero, the task knows it has been running twice as long as normal (maybe because some hardware isn't responding), so it should exit.

Is there a usual name for this? If not, can someone suggest a name?
 

it seems similar to WATCHDOGTIMER used in micro controllers to detect and restart a controller software problem
if the controller hangs somewhere and it does not responds to even watchdog it will be reset by watchdog timer
 

Actually it is quite a lot like a watchdog. Is there another name for it? This system already has a hardware watchdog, so it feels like that would be using one word for different things.
 

up to what I know there is no fixed name for this type of timer

so you can call it by some other name like:--

process monitoring timer
process time limiter
resource manager timer
 

Thanks for your ideas Sol. I've been calling this "Egg_Timer", but the metaphor's not perfect. I like your "resource manager timer".
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…