VxWorks Task
R2026bSpawn task function as separate VxWorks thread
Libraries:
Embedded Coder Support Package for ARM Cortex-A Processors
Description
Add-On Required: This feature requires the Embedded Coder Support Package for ARM Cortex-A Processors add-on.
The VxWorks Task block creates a task function that spawns as a separate VxWorks® thread. The task function runs the code of the downstream Function-Call Subsystem block.
The VxWorks Task block uses a first-in, first-out (FIFO) scheduling algorithm, which executes real-time processes without time slicing. With FIFO scheduling, a higher-priority process preempts a lower-priority process. While the higher-priority process runs, the lower-priority process remains at the top of the list for its priority. When the scheduler blocks the higher-priority processes, the lower-priority process resumes.

Examples
Ports
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"arm_cortex_a_lib/VxWorks Task"
Example: add_block("arm_cortex_a_lib/VxWorks Task","myModel/myBlock",MakeNameUnique="on")
Version History
Introduced in R2014a
