rtems-4.12 _POSIX_MEMLOCK defined but not available

Gedare Bloom gedare at rtems.org
Wed Mar 22 14:56:15 UTC 2017


I'm not sure if we will have mlockall anytime soon.

On Wed, Mar 22, 2017 at 10:43 AM, Joel Sherrill <joel at rtems.org> wrote:
>
>
> On Wed, Mar 22, 2017 at 3:29 AM, Heinz Junkes <junkes at fhi-berlin.mpg.de>
> wrote:
>>
>> rtems4.12 (master) defines in include/sys/features.h
>>
>> _POSIX_MEMLOCK and _POSIX_MEMLOCK_RANGE to 1
>>
>> but mlockall is not available in any library and one can read
>>
>> ./rtems/doc/posix1003.1/compliance_list:mlockall(), Not Supported
>> ./rtems/doc/posix1003.1/ch12.t:mlockall(), Function, Unimplemented
>>
> That's right. If Gedare weren't working on adding support, I would say we
> need to turn it off in newlib. But at this point I am not sure it is worth
> a tool spin to turn this off and then back on in newlib.
>
> Gedare.. thoughts?
>
> --joel
>
>>
>> heinz
>>
>>
>>
>> _______________________________________________
>> users mailing list
>> users at rtems.org
>> http://lists.rtems.org/mailman/listinfo/users
>
>


More information about the users mailing list