commit | 15d847add8e9c0db29ef4b938f49b4341bff189d | [log] [tgz] |
---|---|---|
author | Alberto Escolar Piedras <alpi@oticon.com> | Tue Jul 10 09:17:39 2018 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Jul 18 15:43:12 2018 -0400 |
tree | 15cc36ef4a41696be71468b9132118eeb6406f12 | |
parent | b1045fee5998fec94ff659de67b2159950cc897d [diff] |
native: Add NATIVE_EXIT_TASK hooks Some of the native application components or drivers need to do a proper cleanup before the executable exits. So we provide a macro similar to SYS_INIT but which will be called just before exiting. This can be used for freeing up resources, closing descriptors, or doing any neccessary signaling to any other host process. Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>