.OpenModelica.Scripting.alarm

Schedules an alarm signal for the process.

Information

Like alarm(2).

Note that OpenModelica also sends SIGALRM to the process group when the alarm is triggered (in order to kill running simulations).

Interface

impure function alarm
  input Integer seconds;
  output Integer previousSeconds;
end alarm;

Generated at 2025-04-25T18:20:13Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos