Jan Kiszka wrote:
> +#ifndef CONFIG_XENO_POSIX_AUTO_MLOCKALL
>       if (mlockall(MCL_CURRENT | MCL_FUTURE)) {
>               perror("Xenomai Posix skin init: mlockall");
>               exit(EXIT_FAILURE);
>       }

Errr... I do not get it, the mlockall should take place if AUTO_MLOCKALL
is set, no ?

+               struct sched_param parm = { .sched_priority = 0 };

I do not like the everything-on-one-line style. And are we sure this
will work if sched_priority is a macro ?

-- 
                                                 Gilles.

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to