Real-Time Workshop    

Task Synchronization Block

The VxWorks Task Synchronization block is a function-call subsystem that spawns, as an independent VxWorks task, the function-call subsystem connected to its output. Typically it would be placed between the VxWorks Interrupt Control block and a function-call subsystem block or a Stateflow chart. Another example would be to place the Task Synchronization block at the output of a Stateflow diagram that has an Event, "Output to Simulink," configured as a function-call.

The VxWorks Task Synchronization block performs the following functions:

Task Synchronization Parameters

The picture below shows the VxWorks Task Synchronization block dialog box.

Parameters associated with the Task Synchronization block are:

Task Synchronization Block Example

This example shows a Task Synchronization block as a simple ISR.

The Task Synchronization block inserts this code during the Target Language Compiler phase of code generation:


  Interrupt Control Block Asynchronous Rate Transition Block