1.5.6 C library functions to access subsections of the __user_libspace static data area

The __user_perproc_libspace() and __user_perthread_libspace() functions return subsections of the __user_libspace static data area.

__user_perproc_libspace()

Returns a pointer to 96 bytes of 4-byte aligned memory for storing data that is global to an entire process. This data is shared between all threads.

__user_perthread_libspace()

Returns a pointer to 96 bytes of 4-byte aligned memory for storing data that is local to a particular thread. This means that __user_perthread_libspace() returns a different address depending on the thread it is called from.

Non-ConfidentialPDF file icon PDF versionARM DUI0475M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.