[riot-notifications] [RIOT-OS/RIOT] core: forward declare msg_t in thread.h (#16477)

Marian Buschsieweke notifications at github.com
Tue May 18 11:39:20 CEST 2021


With this, `thread.h` and `sched.h` still depend on each other. As a result, it will remain impossible to use helpers like `thread_getpid()` or `thread_getactive()` from within `sched.h`.

The problem with the cross header forward declaration is that they mask the underlying problem of circular dependencies, rather than solving it.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16477#issuecomment-843019054
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210518/17590e2b/attachment.htm>


More information about the notifications mailing list