Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- You'll need to use Dekker's algorythm on uncached memory to do any form of inter-cpu synchronisation. Generating a 'spin lock' is easiest, and, in fact, all the other synchronisation schemes are based on them. --- Quote End --- Hi, dsl, thanks for your reply. However, Deckker's algorithm is kind of 'busy waiting' or 'spin lock' as you said. What I need is some kind of blocking machinism. Just like then recv() in socket programming , it will block the process. In mailbox, we have pend(). And though it seems that the lock() in Mutex is a blocking rountine, as I said before , it can not be used to coordinate processes.:(