Technote (troubleshooting)
Problem(Abstract)
Classes derived from "Active" classes don't override certain "thread properties", such as ActiveThreadName or ActiveThreadPriority.
Symptom
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
Cause
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.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.