All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Xenomai and normal linux application - Wait time with select() not reliable
@ 2012-07-03 13:30 Jens Köhler
  2012-07-03 21:53 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 19+ messages in thread
From: Jens Köhler @ 2012-07-03 13:30 UTC (permalink / raw)
  To: xenomai

Hello all,

I have a normal linux application running. Application waits in
following loop normally about 8 ms. Delay time of 8ms is reliable.

do
   {
      remain(&remainTime);

      if ((remainTime.tv_sec != 0L) || (remainTime.tv_usec != 0L))
         result = select(0, NULL, NULL, NULL, &remainTime);
      else
         break;
   }
   while ((result == -1) && (errno == EINTR));

If there is running in parallel a Xenomai application the wait time
could be up to 40 ms accidentally. What could be the reason?

Thanks and regards,
Jens


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2013-01-21 18:48 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-03 13:30 [Xenomai] Xenomai and normal linux application - Wait time with select() not reliable Jens Köhler
2012-07-03 21:53 ` Gilles Chanteperdrix
2012-07-04  8:36   ` Jens Köhler
2012-07-04  8:45     ` Gilles Chanteperdrix
2012-07-04 10:06       ` Philippe Gerum
2012-07-04 11:45         ` Jens Köhler
2012-07-04 12:04           ` Gilles Chanteperdrix
     [not found]             ` <CAL7_A_VQe-KGBoYq034hT=6CdJJPpwEQTs1EgDQ=325WjOfUzw@mail.gmail.com>
2012-07-04 12:57               ` Gilles Chanteperdrix
2012-07-04 13:10           ` Jens Köhler
2012-07-04 13:17             ` Jens Köhler
2012-07-04 13:22             ` Gilles Chanteperdrix
     [not found]               ` <CAL7_A_WTJUeWNTTra2t9veiyWMxC5VtpotocMHGPdU1v7QAxKA@mail.gmail.com>
     [not found]                 ` <4FF44C52.6050809@xenomai.org>
     [not found]                   ` <CAL7_A_VUC8JD9yeMnLt2iJQ0ex_at3QMhiL3cQ5CHPFh0rcJRA@mail.gmail.com>
     [not found]                     ` <4FF585C4.1000708@xenomai.org>
2012-11-19 13:29                       ` Jens Köhler
2012-11-19 13:42                         ` Gilles Chanteperdrix
2012-12-03  7:59                           ` Jens Köhler
2012-12-03  9:26                             ` Gilles Chanteperdrix
2012-12-04 10:09                               ` Jens Köhler
     [not found]                               ` <CAL7_A_XHtj19V3gnog7_Hoer6UGxRJfoFwT0sgzQvhtARB3b9A@mail.gmail.com>
2013-01-21 12:09                                 ` Gilles Chanteperdrix
     [not found]                                   ` <CAL7_A_Wkjj1mTeDcEfDzPKFkQhiYeChPgC=ggVkedxqy=yaLng@mail.gmail.com>
2013-01-21 18:48                                     ` Gilles Chanteperdrix
2012-07-04 13:33           ` Philippe Gerum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.