MansOS Alarm

From DiLab
Revision as of 15:49, 28 September 2011 by Atis (talk | contribs) (izeditēju laukā alarmu dokumentaciju, kas neatbilst esošajam kodam)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
MansOS --> Reference --> Alarm :: #Basic :: #Advanced :: #Example

Alarms are used to execute some code after a certain time period, possibly repeatedly.

The more timers you run, the less precise they may be due to the possibility for several of them to fire at the same time. Only one callback function will be executed immediately, the rest of them will wait for the previous callback to finish and thus will be delayed.

Declared in:

#include "alarm.h"

MansOS --> Reference --> Alarm :: #Basic :: #Advanced :: #Example