Analog Devices EE-303 Using VisualDSP++ Thread-Safe Libraries with a Third-Party RTOS

This document describes how to use the thread-safe C and C++ libraries provided with VisualDSP++ 4.5 with an RTOS other than VDK. This information is provided as a guide for users who have a firm understanding of multithreaded programming principles and the procedures used in their multithreaded operating system.


Analog Devices EE-303 Using VisualDSP++ Thread-Safe Libraries with a Third-Party RTOS - cover page
Brand
Analog Devices
Category
Other Electronics
Document type
Application Note
Language
English
Pages
7
File format
PDF
File size
57 KB
Published
03 August, 2012
Updated
29 September, 2023
MD5 checksum
656BA24B03F7572E031A771A4EE6FA04

About this manual

This document describes the process of using the thread-safe C and C++ libraries provided with VisualDSP++ 4.5 in an environment other than the VDK RTOS. It details the necessary modifications to the Linker Description File (.LDF) and the initialization code required to replace VDK-specific functions with those from an alternative RTOS. The note covers changes in implementation between VisualDSP++ 4.0 and 4.5, specifically the shift from semaphores to a mutex-based system.

What's inside

  • Changes from VisualDSP++ 4.0 to 4.5
  • Locking and Unlocking Critical Sections
  • Thread-Local Storage
  • Modifying the Linker Description File
  • Initializing the C and C++ Libraries
  • Blackfin Start-Up Code

Frequently asked questions

What specific VisualDSP++ version does this guide cover?

This document describes how to use the thread-safe C and C++ libraries provided with VisualDSP++ 4.5.

Which RTOS is officially supported by Analog Devices for these libraries?

The thread-safe libraries are designed to work specifically with the VDK RTOS, which is the only configuration supported by Analog Devices.

What is the required size for a mutex constructed by the RMutexInit function?

In calls from the thread-safe runtime libraries, the size is 5*sizeof(int).

Download PDF (57 KB)

More Analog Devices Manuals


View all Analog Devices manuals →