Re: [Xenomai-core] [PATCH] Refactor management of auto-shadowing, TLS and dlopen

2008-11-22 Thread Jan Kiszka
Gilles Chanteperdrix wrote: 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

Re: [Xenomai-core] [PATCH] Refactor management of auto-shadowing, TLS and dlopen

2008-11-21 Thread Gilles Chanteperdrix
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 ?