Skip to content
Snippets Groups Projects
Commit 2acd216d authored by Kaspar Schleiser's avatar Kaspar Schleiser
Browse files

Merge pull request #2589 from kushalsingh007/isr

Core: doc: add note advising against creation of threads from within ISR
parents 9f65959f 3b7e54b4
No related branches found
No related tags found
No related merge requests found
...@@ -68,6 +68,9 @@ ...@@ -68,6 +68,9 @@
* - CREATE_STACKTEST write markers into the thread's stack to measure the stack's memory * - CREATE_STACKTEST write markers into the thread's stack to measure the stack's memory
* usage (for debugging and profiling purposes) * usage (for debugging and profiling purposes)
* *
* @note Currently we support creating threads from within an ISR, however it is considered
* to be a bad programming practice and we strongly discourage it.
*
* @param[out] stack start address of the preallocated stack memory * @param[out] stack start address of the preallocated stack memory
* @param[in] stacksize the size of the thread's stack in bytes * @param[in] stacksize the size of the thread's stack in bytes
* @param[in] priority priority of the new thread, lower mean higher priority * @param[in] priority priority of the new thread, lower mean higher priority
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment