Home
last modified time | relevance | path

Searched refs:count_limit (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/include/zephyr/
Dkernel.h3235 #define Z_SEM_INITIALIZER(obj, initial_count, count_limit) \ argument
3239 .limit = (count_limit), \
3354 #define K_SEM_DEFINE(name, initial_count, count_limit) \ argument
3356 Z_SEM_INITIALIZER(name, initial_count, count_limit); \
3357 BUILD_ASSERT(((count_limit) != 0) && \
3358 (((initial_count) < (count_limit)) || ((initial_count) == (count_limit))) && \
3359 ((count_limit) <= K_SEM_MAX_LIMIT));