Skip to content
Commit 928af3ce authored by Anas Nashif's avatar Anas Nashif
Browse files

kernel: semaphore: k_sem_init error checking



Check for errors at runtime and stop depending on ASSERTs.
This changes the API for
- k_sem_init

k_sem_init now returns -EINVAL on invalid data.

Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
parent 86bb2d06
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment