Global Sources
EE Times-Asia
Stay in touch with EE Times Asia
EE Times-Asia > EDA/IP

Implementing a memory-based mutex and barrier synchronization library

Posted: 02 Sep 2008 ?? ?Print Version ?Bookmark and Share

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...
*? You can enter [0] more charecters.
*Verify code:


Visit Asia Webinars to learn about the latest in technology and get practical design tips.

Back to Top