mirror of https://github.com/ARMmbed/mbed-os.git
When the malloc lock and unlock functions are inside a library they conflict with the standard libraries weak version of these functions. This is because of the way weak references are handled by the linker. This patch renames the lock and unlock functions defined inside RTX so they do not conflict. A thunk inside retarget.cpp then calls the RTX functions. This problem does not occur with retarget.cpp since it is always build into an object file rather than a library file. |
||
---|---|---|
.. | ||
rtos | ||
rtx | ||
mbed_lib.json |