18 #ifdef POK_NEEDS_MIDDLEWARE
19 #ifdef POK_NEEDS_BLACKBOARDS
21 #include <middleware/blackboard.h>
24 #include <libc/string.h>
28 pok_ret_t pok_blackboard_status (
const pok_blackboard_id_t
id,
31 if (
id > POK_CONFIG_NB_BLACKBOARDS)
33 return POK_ERRNO_EINVAL;
36 status->waiting_processes = pok_blackboards[id].waiting_processes;
37 status->msg_size = pok_blackboards[id].size;
38 status->empty = pok_blackboards[id].empty;