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

Marian Buschsieweke notifications at github.com
Wed Sep 15 07:04:37 CEST 2021

@maribu commented on this pull request.

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

Maybe name it `thread_getpid_of()`? That name would make it more obvious which of the two requires an extra argument.

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/512832de/attachment.htm>

More information about the notifications mailing list