I use objects of type:
typedef struct object {
RT_MUTEX *rt_lock;
..
} Object;
int err = rt_mutex_create (ob->rt_lock, NULL);
printf ("[alloc.c]: rt_mutex_create err: %d; #%d \n", err, __LINE__);
err = rt_mutex_acquire (ob->rt_lock, TM_INFINITE);
printf ("[lock.c]: rt_mutex_acquire, err: %d; #%d \n", err, __LINE__);
On creation, rt_mutex_create returns 0 (as expected).
On acquiring, rt_mutex_acquire returns -3,
but this return value is not included among the possible return values in the
documentation of Mutex services.
Could you please explain what this return value -3 means?
Best regards
Hans So
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help