Part Number: AM5726
Tool/software: TI-RTOS
Hi,
we're using MessageQ with virtio/Rpmsg as transport layer in order to communicate between an ARM/Linux world application and a TI/RTOS firmware running on a DSP core. Everything works just fine but we have to make the application more robust against possible failure.
On a sane linux application shutdown we officially disconnect with a 'disconnect' message to which the DSP firmware reacts by resetting its messageq sw module.
But if the linux application is killed or it runs into a segfault, there is no way to send a final disconnect message. This leads to following question:
How can we detect the recipients disconnect programmatically on DSP side?
Right now it isn't detected at all and the next MessageQ_put call takes around 200ms to return. Very unpleasant for a realtime DSP application....
Do you have any suggestions?
Best,
Tim
