[riot-notifications] [RIOT-OS/RIOT] core/thread: add getters for thread_t (#16818)
notifications at github.com
Tue Sep 14 15:28:58 CEST 2021
@kaspar030 commented on this pull request.
> + return thread->stack_start;
+ return NULL;
+ * Get stored Stack Pointer of thread.
+ * *Only provides meaningful value if the thread is not currently running!*.
+ * @param thread thread to work on
+ * @returns current stack pointer
+static inline void *thread_get_sp(const thread_t *thread)
should it? I don't mind, it could mean casting down the line (e.g., in ps()).
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications