Forum Discussion
Altera_Forum
Honored Contributor
15 years agoYes. If I can use multiple semaphores,then it will work well because that's a generic producer/consumer problem.
However, different from semaphores, Mutex can only be released by the one who lockes it . So mutex can be used to protect the shared memroy ,howerver it can not be used to coordinate different task of different processors, in my opinion:(