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 2018/11/29 11:13:15 UTC

[GitHub] kasjer opened a new pull request #1539: spiflash: Make spiflash thread safe

kasjer opened a new pull request #1539: spiflash: Make spiflash thread safe
URL: https://github.com/apache/mynewt-core/pull/1539
 
 
   If several task would try to use spiflash at the same time they
   could get wrong result and even deadlock waiting for some SPI
   state that would not happen.
   Adding mutex to most of the functions makes spiflash usable from
   multiple tasks.
   For boot loader sake spiflash can be built without locking.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services