[examples-v2 2/2] fat_ramdisk: define POSIX keys number
Gedare Bloom
gedare at rtems.org
Fri Apr 8 11:56:32 UTC 2016
looks good to me
On Fri, Apr 8, 2016 at 4:33 AM, Peng Fan <van.freenix at gmail.com> wrote:
> define POSIX KEYS and PAIRS to 16, otherwise met:
> "
> pthread_setspecific(shell_current_env_key)
> "
>
> Signed-off-by: Peng Fan <van.freenix at gmail.com>
> ---
> filesystem/fat_ramdisk/init.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/filesystem/fat_ramdisk/init.c b/filesystem/fat_ramdisk/init.c
> index 2fff705..62721f1 100644
> --- a/filesystem/fat_ramdisk/init.c
> +++ b/filesystem/fat_ramdisk/init.c
> @@ -130,6 +130,9 @@ rtems_task Init(
>
> /* configuration */
>
> +#define CONFIGURE_MAXIMUM_POSIX_KEYS 16
> +#define CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS 16
> +
> #define CONFIGURE_SHELL_COMMANDS_INIT
> #define CONFIGURE_SHELL_COMMANDS_ALL
> #define CONFIGURE_SHELL_MOUNT_MSDOS
> --
> 2.6.2
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
More information about the devel
mailing list