// ---
  // Handle priority
  // ---
  if (eparams->raised_priority() == true) {
    struct sched_param sparam;
    sparam.sched_priority = 10;
    if (::sched_setscheduler(0, SCHED_FIFO, &sparam) == -1)
      ecadebug->msg(ECA_DEBUG::system_objects, "(eca-main) Unable to change scheduling policy!");
    else
      ecadebug->msg(ECA_DEBUG::system_objects, "(eca-main) Using real-time-scheduling (SCHED_FIFO/10).");
  }