[riot-notifications] [RIOT] C++11 compatibility (#193)

Oleg Hahm notifications at github.com
Tue Nov 26 18:41:52 CET 2013


> @@ -68,7 +68,10 @@
>   * @brief   Returns the process ID of the currently running thread.
>   * @return  Obviously you are not a golfer.
>   */
> -int thread_getpid(void);
> +static inline int thread_getpid(void)
> +{
> +    return active_thread->pid;
> +}

Unrelated. This should go into a separate PR.

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/193/files#r7932412
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20131126/f3fa6421/attachment.html>


More information about the notifications mailing list