kasjer opened a new pull request, #2886:
URL: https://github.com/apache/mynewt-core/pull/2886

   baselibc has option to lock the heap so malloc/free/calloc can be called 
from multi-threaded application.
   
   This adds implementation of this using os_mutex.
   When BASELIBC_THREAD_SAFE_HEAP_ALLOCATION is set to 1 baselibc has package 
initialization functions that puts locking functionality in place.
   
   For now to preserve compatibility this functionality is not enabled by 
default leaving heap allocation
   not thread unsafe.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to