Forum Discussion
Altera_Forum
Honored Contributor
16 years agoThere is no problem. The get function returns EWOULDBLOCK because there is no further message to read. It is the expected result, as you post only one message, and then wait for a long period of time.
If you want the receiving CPU to wait until a new message is available, you should use the altera_avalon_mailbox_pend() function.