Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 346722

Summary: add priorities to LogicalThread (SubSystem Generator)
Product: [Modeling] eTrice Reporter: Thomas Schuetz <ts>
Component: GeneratorsAssignee: Project Inbox <etrice.generators-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: hrr
Version: 0.1.0Flags: hrr: indigo+
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: 0.1.0

Description Thomas Schuetz CLA 2011-05-20 11:54:11 EDT
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}
Comment 1 Thomas Schuetz CLA 2011-05-30 04:20:02 EDT
-> done
- default thread has always standard priority
- changed prio for other threads to mandatory:
Grammar now:
 'LogicalThread' name=ID 'prio' '=' prio=INT '{'
...
Comment 2 Thomas Schuetz CLA 2011-05-30 07:33:18 EDT
fixed with
0ef931bc9ef52fa8436b6b46e7b5f49c22edfbad
Comment 3 Henrik Rentz-Reichert CLA 2011-12-16 02:45:30 EST
closed resolved bug