AnsweredAssumed Answered

_msg_alloc    +   Mutex  ?

Question asked by Jeremy Sanchez on Sep 8, 2009
Latest reply on Sep 9, 2009 by Juraj Vanco

Should we protect message pools with mutex? I thought MQX protected this functions  by default?

 

msg_ptr = (GENERIC_DATA_MSG_PTR)_msg_alloc(mp_QuadSPI);

 

If different priority tasks have calls to the instruction above, should we use Mutex to prevent simultaneous access?

 

Regards,

Outcomes