[riot-notifications] [RIOT-OS/RIOT] core/thread: add getters for thread_t (#16818)

Kaspar Schleiser notifications at github.com
Tue Sep 14 23:15:42 CEST 2021

@kaspar030 commented on this pull request.

> +static inline kernel_pid_t thread_get_pid(const thread_t *thread)
+    return thread->pid;

hm, not sure. the dual name is an issue, but I'd rather not change "thread_getpid()". (that would be the reason for overloading thread_get_pid(), right?)

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...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210914/eb2337b9/attachment.htm>

More information about the notifications mailing list