All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Xenomai and select() function - don't work correctly
@ 2011-03-18 11:48 Jens Köhler
  2011-03-18 11:53 ` Gilles Chanteperdrix
  2011-03-18 12:05 ` Jan Kiszka
  0 siblings, 2 replies; 5+ messages in thread
From: Jens Köhler @ 2011-03-18 11:48 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 563 bytes --]

Hello,

on my atom processor based computer is Xenomai installed. (Kernel 2.6.26,
1000Hz, Xenomai 2.4.10, PREEMPT patch, no xenomai application running).

A normal linux application reads serial data from an UART
(16550A) and checks by select() function if there are new received
bytes. Select() has a timeout parameter, set to 12 milliseconds. Some times
it happens that select() waits 43 ms instead of maximum 12 ms. Result value
of select() is timeout instead of "byte received". Could this caused by
Xenomai? How could I improve it?

Thanks and regards,
Jens

[-- Attachment #2: Type: text/html, Size: 656 bytes --]

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

end of thread, other threads:[~2011-03-18 22:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-18 11:48 [Xenomai-help] Xenomai and select() function - don't work correctly Jens Köhler
2011-03-18 11:53 ` Gilles Chanteperdrix
2011-03-18 12:05 ` Jan Kiszka
2011-03-18 14:05   ` Jens Köhler
2011-03-18 22:12     ` Gilles Chanteperdrix

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.