ID: Title | cgsl_0206: Data integrity and determinism in multitasking models | ||
---|---|---|---|
Description | For multitasking models that are deployed with a preemptive (interruptible) operating system, protect the integrity of selected signals by doing one of the following: | ||
A | Select the Rate Transition block parameter Ensure data integrity during data transfer . | ||
B | For Inport blocks in Function Called subsystems, select the block parameter Latch input for feedback signals of function-call subsystem outputs. | ||
To protect selected signal determinism, do one of the following: | |||
C | Select the Rate Transition block parameter Ensure deterministic data transfer (maximum delay). | ||
D |
| ||
Prerequisites | cgsl_0205:Signal handling for multirate models | ||
Rationale | A,B, C,D | Following this guideline protects data against possible corruption of preemptive (interruptible) operating systems. | |
Note | Multitasking systems with a non-preemptive operating system do not require data integrity or determinism protection. In this case, clear these parameters:
Ensuring data integrity and determinism requires additional memory and execution time. To reduce this additional expense, evaluate signals to determine the level of protection that they require. | ||
See Also |
| ||
Last Changed | R2011a |