osMailCreate() function
Create and Initialize mail queue
Arguments
queue_def
reference to the mail queue definition obtain with
osMailQ
thread_id
thread ID (obtained by osThreadCreate or osThreadGetId) or NULL.
Return value
mail queue ID for reference by other functions or NULL in case of error.
Notes
MUST REMAIN UNCHANGED: \b osMailCreate shall be consistent in every CMSIS-RTOS.
Examples
osMailCreate() is referenced by 2 libraries and example projects: