On 03/05/2013 01:43 PM, Ronny Meeus wrote:

I'm able to reproduce the issue on a small test build:

#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/mman.h>
#include <psos.h>
#include <copperplate/init.h>
#include <stdlib.h>
#include <string.h>

static void foo (u_long a0, u_long a1, u_long a2, u_long a3)
{
         u_long ret, ev = 0, tmid,tmid2;

         ret = tm_evevery(1,1,&tmid);
         ret = tm_evafter(30000,4,&tmid2);
         while (1) {
                 ret = ev_receive(0xFF,EV_ANY|EV_WAIT,0,&ev);

Can you check the return vakue here?

--
Philippe.

_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to