| Summary: | add priorities to LogicalThread (SubSystem Generator) | ||
|---|---|---|---|
| Product: | [Modeling] eTrice | Reporter: | Thomas Schuetz <ts> |
| Component: | Generators | Assignee: | Project Inbox <etrice.generators-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | hrr |
| Version: | 0.1.0 | Flags: | hrr:
indigo+
|
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | 0.1.0 | ||
-> done
- default thread has always standard priority
- changed prio for other threads to mandatory:
Grammar now:
'LogicalThread' name=ID 'prio' '=' prio=INT '{'
...
fixed with 0ef931bc9ef52fa8436b6b46e7b5f49c22edfbad closed resolved bug |
I added an optional priority to LogicalThread in the Grammar. The Java codegenerator for the subsystem shall add the priority of the Thread for the Message Service to SubSystem::instantiateMessageServices Grammar: 'LogicalThread' name=ID ('prio' '=' prio=INT)? '{' Model without prio: LogicalThread Thread1 {Controller.SourceSensor1} Model without prio: LogicalThread Thread1 prio=1 {Controller.SourceSensor1}