You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2022/09/27 18:54:05 UTC

[GitHub] [mynewt-core] kasjer opened a new pull request, #2886: baselibc: Add option to have thread-safe heap

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: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2886: baselibc: Add option to have thread-safe heap

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on PR #2886:
URL: https://github.com/apache/mynewt-core/pull/2886#issuecomment-1259939412

   
   <!-- style-bot -->
   
   ## Style check summary
   
   #### No suggestions at this time!
   


-- 
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: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [mynewt-core] kasjer merged pull request #2886: baselibc: Add option to have thread-safe heap

Posted by GitBox <gi...@apache.org>.
kasjer merged PR #2886:
URL: https://github.com/apache/mynewt-core/pull/2886


-- 
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: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org