MansOS Alarm

From DiLab
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