Exemple #1
0
 public static int addPeriodicTimer(long tdelay, TIMER_HANDLER_TYPE handler) {
   return IPC.addTimer(tdelay, TRIGGER_FOREVER, handler);
 }
Exemple #2
0
 public static int addOneShotTimer(long tdelay, TIMER_HANDLER_TYPE handler) {
   return IPC.addTimer(tdelay, 1, handler);
 }