Instead of trusting blindly that k_mem_slab_init() will succeed, let's check it, and handle failures appropriately. Otherwise, a buffer of garbage will be passed around, leading to misterious failures later on. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| event_flags.c | ||
| Kconfig | ||
| kernel.c | ||
| mempool.c | ||
| msgq.c | ||
| mutex.c | ||
| semaphore.c | ||
| thread_flags.c | ||
| thread.c | ||
| timer.c | ||
| wrapper.h | ||