Code generated for a derived class is incorrect if a thread name is specified for the class

Technote (troubleshooting)


Classes derived from "Active" classes don't override certain "thread properties", such as ActiveThreadName or ActiveThreadPriority.


If you model a derived class that extends an "Active" class, and override one or more of the following properties, the values you specify for the properties will not be reflected in the generated code.

  • CG:Class:ActiveStackSize
  • CG:Class:ActiveMessageQueueSize
  • CG:Class:ActiveThreadPriority
  • CG:Class:ActiveThreadName


The constructor required to override these fields does not exist for the base class.

Resolving the problem

Create the appropriate constructor manually and call it in order to propagate the values.

Document information

More support for:

Rational Rhapsody

Software version:

7.2, 7.3, 7.4,, 7.5,, 7.5.1,, 7.5.2,, 7.5.3,,,, 7.6,, 7.6.1,,, 8.0, 8.0.1

Operating system(s):

Linux, Windows

Software edition:

All Editions

Reference #:


Modified date:


Translate my page

Content navigation