zephyr/doc/reference/kernel
Pavel Hübner 104714394f kernel: Introduce K_MEM_SLAB_DEFINE_STATIC
As the already existing macro K_MEM_SLAB_DEFINE results in
two variable definitions, the preceding static modifier leads to
a seemingly working solution, though linkage conflicts will occur
when the same memory slab name is used across multiple modules.

The new K_MEM_SLAB_DEFINE_STATIC macro duplicates the functionality of
K_MEM_SLAB_DEFINE with the difference that the static keywords are
internally prepended before both variable definitions.

The implementation has been tested on my Zephyr project (the build
issue faded out). The documentation has been updated altogether
with all incorrect occurences of static K_MEM_SLAB_DEFINE.

Signed-off-by: Pavel Hübner <pavel.hubner@hardwario.com>
2021-11-07 05:36:48 -05:00
..
data_passing doc: misc fixes 2021-10-04 16:42:08 -04:00
memory kernel: Introduce K_MEM_SLAB_DEFINE_STATIC 2021-11-07 05:36:48 -05:00
other doc: misc fixes 2021-10-04 16:42:08 -04:00
scheduling doc: Add deadline scheduling information 2021-09-30 17:01:09 -04:00
smp
synchronization doc: Fix K_EVENT_DEFINE macro code-block example 2021-10-20 17:44:12 -04:00
threads doc: threads: Use plural for SSE registers 2021-11-02 10:46:00 +01:00
timing
index.rst doc: events: Add events documention 2021-10-16 06:27:10 -04:00