https://bugs.kde.org/show_bug.cgi?id=452274

--- Comment #15 from Nick Briggs <afraid-splicer...@icloud.com> ---
In case it matters... I just looked at the maiko code that sets up the VTALRM
signal, notice the SA_RESTART in the flags.

  struct itimerval timert;
  struct sigaction timer_action;

  timer_action.sa_handler = int_timer_service;
  sigemptyset(&timer_action.sa_mask);
  timer_action.sa_flags = SA_RESTART;

  if (sigaction(SIGVTALRM, &timer_action, NULL) == -1) {
    perror("sigaction: SIGVTALRM");
  }

  /* then attach a timer to it and turn it loose */
  timert.it_interval.tv_sec = timert.it_value.tv_sec = 0;
  timert.it_interval.tv_usec = timert.it_value.tv_usec = TIMER_INTERVAL;
  setitimer(ITIMER_VIRTUAL, &timert, NULL);

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to