Of the 3 related functions; _thread_essential_set() _thread_essential_clear() _is_thread_essential() The first two are parameter-less and always operate on "_nanokernel.current". The last one takes a 'thread' parameter but will operate on _nanokernel.current if the parameter is NULL. All calls to _is_thread_essential() pass NULL! This change makes the 3 functions consistent by removing the parameter to the 3rd function. This should also be marginally more efficient, though consistency was the motivation. This change corrects the doc preamble to all 3 functions. (These functions would probably be better as inlines. Also, the choice of when to use wrappers seems a bit arbitrary. E.g. there's nothing for setting/testing the "FIBER" flag.) Change-Id: Ie3589f8a28b227c6d7a3a31b664d3b3e6e9c6d17 Signed-off-by: Geoff Thorpe <geoff.thorpe@nxp.com> |
||
|---|---|---|
| .. | ||
| configs | ||
| microkernel | ||
| nanokernel | ||
| Kconfig | ||
| Makefile | ||