DEENESPTFRRUARHIKOZHNL
CLASSIC Modul: rte Rolle: heuristic Konfidenz: 80%

SNIP_CLASSIC_RTE_SECTION_5_7_6_Reentrancy

Quelle: SWS_RTE.pdf (Seite 804) • Ziel-Anforderung: TPS_SWCT_01307

Wortlaut

5.7.6 Reentrancy A runnable entity is declared within a software-component type. The RTE ensures that concurrent activation of same instance of a runnable entity is only allowed if the runnables attribute "canBeInvokedConcurrently" is set to TRUE (see Section 4.2.7). When a software-component is multiple instantiated each separate instance has its own instance of the runnable entities in the software-component. Whilst instances of a software-component are independent, the runnable entities instances share the same code ([SWS_Rte_03015]). Example 5.31 Consider a component c1 with runnable entity re1 and entry point ep that is instantiated twice on the same ECU. The two instances of c1 each has a separate instance of re1. Software-component instances are scheduled independently and therefore each instance of re1 could be concurrently executing ep. The potential for concurrent execution of runnable entities when multiple instances of a software-component are created means that each entry point should be reentrant.

Versionen & Provenienz · Zugeordnete Anforderungen

Diese Angaben zeigt der Versions-Explorer.

Begründung & Zuweisungs-Evidenz

combining supportsMultipleInstantiation and canBeInvokedConcurrently attributes

Dokumenten-Herkunft & Rückverfolgbarkeit

Spezifikations-Dokument SWS_RTE.pdf
Dokumentseite Seite 804
Ziel-Modul rte (classic)
Ziel-Anforderung TPS_SWCT_01307
Semantische Rolle heuristic
Automatisierungs-Konfidenz 0.80