EDA/IP??
Implementing a memory-based mutex and barrier synchronization library
Keywords:barrier mutex synchronization? multiprocessor? library C/C++? application note?
Programming multiprocessor systems often requires that the tasks running on the processors be able to synchronize with each other and be able to safely access shared data. To enable multiprocessor synchronization and data sharing, the Xtensa architecture includes several multiprocessor synchronization instructions. This application note describes how the multiprocessor synchronization instructions can be used to implement a memory-based mutual exclusion (mutex) primitive. Included with this application note is the complete source code for a C/C++ library that implements an example mutex API as well as a barrier synchronization API.
View the PDF document for more information.
Article Comments - Implementing a memory-based mutex an...
Visitor(To avoid code verification, simply login or register with us. It is fast and free!)
?
Top Ranked Articles
?
Webinars
Visit Asia Webinars to learn about the latest in technology and get practical design tips.