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 2019/12/04 19:02:12 UTC

[GitHub] [mynewt-core] ccollins476ad opened a new pull request #2119: sys/config: Expose `conf_lock` and conf_unlock`

ccollins476ad opened a new pull request #2119: sys/config: Expose `conf_lock` and conf_unlock`
URL: https://github.com/apache/mynewt-core/pull/2119
 
 
   Prior to this PR, these two functions were private to the config package.  This PR moves their prototypes to the public `config.h` header.
   
   If another task tries to read or write a setting while the config package is locked, the operation will block until the package is unlocked.  The locking task is permitted to read and write settings as usual.
   
   Typical usage of the config API does not require manual locking.  This functionality is only needed for unusual use cases such as temporarily changing the destination medium for an isolated series of writes.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services