osMessageCreate() function
Message Queue Management Functions ******************** Create and Initialize a Message Queue
Arguments
thread_id
thread ID (obtained by osThreadCreate or osThreadGetId) or NULL.
Return value
message queue ID for reference by other functions or NULL in case of error.
Notes
MUST REMAIN UNCHANGED: \b osMessageCreate shall be consistent in every CMSIS-RTOS.
Examples
osMessageCreate() is referenced by 49 libraries and example projects: