Configure Multitasking Checks
Specify multitasking constructs used in your code, such as entry points, interrupts, cyclic tasks, and temporally exclusive tasks
To enable verification of shared access of global variables by concurrent tasks or threads, specify the option Enable automatic concurrency detection for Code Prover (-enable-concurrency-detection).
Polyspace® recognizes certain families of multitasking functions. Unless you use these functions, use the options in this category to specify which functions in your code indicate entry points, cyclic tasks, or interrupts. You must also specify the protection mechanisms for shared variables.
Polyspace Options
Topics
- Analyze Multitasking Programs in Polyspace
Detect data races or deadlocks with Bug Finder, or see a comprehensive analysis of shared variable usage with Code Prover.
- Protections for Shared Variables in Multitasking Code
Protect shared variables by using critical section, temporal exclusion, priorities, or interrupt disabling.