Johan Cockx wrote:
> A printf in src/skins/posix/select.c confirms that __wrap_select is called.

Ok, but there are many branches here, could you check whether it emits
the syscall, and if yes, what is the result of this syscall?

> 
> In ksrc/skins/posix/syscall.c,  I added the following lines:
> #ifndef CONFIG_XENO_OPT_POSIX_SELECT
> #error XENO_OPT_POSIX_SELECT not enabled
> #endif
> It still compiles,  so I am quite sure that XENO_OPT_POSIX_SELECT is
> enabled.

It confirms that the option is enabled in the kernel you compile, not in
the one you run...

> 
> Attached is a small stand-alone test case.  It consists of two programs:
> recv.c will wait for a udp message with a timeout of 10 sec (using
> select), and send.c will send a udp message. If recv is started and then
> send (in another terminal),  recv should return immediatly without
> timeout;  however,  it continues to wait until a timeout occurs.

By standalone, I meant without RTnet. So, please verify that you also
get the bug without RTnet, and post a mail to the Xenomai-help mailing
list (as opposed to the rtnet mailing list, which is the mailing list
where you are posting currently).

>
> I am currently running kernel version 2.6.26.8-ipipe-2.0-18, Xenomai
> 2.4 and gcc 4.3.2.
>

It would be nice if you could check whether the latest 2.4 release (that
is 2.4.10), if it is not the one you are using currently. Also, you do
not tell us on which architecture you have that bug.

-- 
                                            Gilles.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to