All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] RTDM/POSIX - Select mask return value missing in case of timeout
@ 2012-12-11 14:07 alex alex
  2012-12-11 14:13 ` alex alex
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: alex alex @ 2012-12-11 14:07 UTC (permalink / raw)
  To: xenomai

Hi,


The problem is the following:


When the timeout interval expires of the “select” function the return value
of FD_ISSET(fdr,&readfds) is 1 whereas it should be 0.

In ksrc/skins/posix/syscall.c we can see that they are not copy to
userspace of select return value in case of timeout.



The attached code shows this bug with the use of a rtdm driver.



Alex.

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

end of thread, other threads:[~2012-12-11 17:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-11 14:07 [Xenomai] RTDM/POSIX - Select mask return value missing in case of timeout alex alex
2012-12-11 14:13 ` alex alex
2012-12-11 14:14 ` Roland Stigge
2012-12-11 14:55 ` Gilles Chanteperdrix
     [not found]   ` <CAPpP=rOkGfB0Wixi4JcLbPAxKayptTJnGeJO4R_FFGtXJAXx8w@mail.gmail.com>
     [not found]     ` <CAPpP=rPG6VBxi3TF9Lja7T2LGjMSSTSGcvbR7xTYdPi9omwDRw@mail.gmail.com>
2012-12-11 17:15       ` alex alex

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.