Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346722 - add priorities to LogicalThread (SubSystem Generator)
Summary: add priorities to LogicalThread (SubSystem Generator)
Status: CLOSED FIXED
Alias: None
Product: eTrice
Classification: Modeling
Component: Generators (show other bugs)
Version: 0.1.0   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: 0.1.0
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-20 11:54 EDT by Thomas Schuetz CLA
Modified: 2011-12-16 02:45 EST (History)
1 user (show)

See Also:
hrr: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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