I am developing a distributed application on C6472 using SMMQT. SMMQT claims to take care of cache coherence of the message buf, but I see that at times it does not. Once I enforce cache coherence by doing BCACHE_wb(send_msg) before MSGQ_put and BCACHE_inv(recv_msg) after MSGQ_get I do not face any issues.
Why I am saying 'at times' is that if SMMQT were not handling cache coherence at all I would expect every messageto be corrupted, but that is not the case. The coherence issue comes up only once in a while.
I am using smmqt & aamcrit from mqtciv_1_20 and smpool from mqt_1_21 (has some fix reg. caching). Inside the code I can see coherence operations in SMPOOL_free and SMMQT_put, which logically should take care of all situations.
Anybody has any pointers regarding this?