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/10/08 21:45:47 UTC

[GitHub] ccollins476ad opened a new pull request #218: sysdown: generate package shutdown function

ccollins476ad opened a new pull request #218: sysdown: generate package shutdown function
URL: https://github.com/apache/mynewt-newt/pull/218
 
 
   Allow packages to specify a function to call when the system shuts down.  The syntax is:
   ```
       pkg.down:
           <C-function-name>: <stage-number>
   ```
   e.g.,
   ```
       pkg.down:
           ble_hs_shutdown: 200
   ```
   Lower stages execute before greater stages.  If two or more callbacks have the same stage, they are sorted alphabetically by C function name.

----------------------------------------------------------------
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