I wrote a program in DSP-ARM system. in this system, ARM and DSP communicates via DSPLINK and proc_read and proc_write. First, ARM sends a message in DSP and then DSP program is run and finally DSP sends a message to ARM. The waiting time for message queue was set to be FOREVER. An interesting problem happens. The program is sometime run correctly. I run the program several times. The program sometimes hangs on message. ARM puts message but the DSP does not read it. Why does the program behave non-deterministically?
↧