Hi, we're porting code from a CMSIS-RTOS environment to embOS ver 4 and are having trouble with inter-thread messaging.
We've put in place code to perform the same as the code example at this link, section "Code Example".
That code essentially demonstrates how two threads can send a mail message via osMailPut (Thread 1) to another (Thread 2) and intercept the message via osMailGet and act upon it.
Do you have a code snippet to do the same using embOS APIs, showing the complete workflow just like the link above?
All our attempts to do the exact same have failed so far, where OS_PutMail generates a runtime exception.
Thanks!
Damien.
We've put in place code to perform the same as the code example at this link, section "Code Example".
That code essentially demonstrates how two threads can send a mail message via osMailPut (Thread 1) to another (Thread 2) and intercept the message via osMailGet and act upon it.
Do you have a code snippet to do the same using embOS APIs, showing the complete workflow just like the link above?
All our attempts to do the exact same have failed so far, where OS_PutMail generates a runtime exception.
Thanks!
Damien.