Setting active thread properties

For the VxWorks and pSOSystem environments, you can assign a name to an active thread by modifying the CG::Class::ActiveThreadName property for the class. The default value of this property is the empty string. The active thread name is used only by the external source debugger (for example, the Tornado debugger), and is not the same as the thread name that is used for IBM® Rational® Rhapsody® animation.

About this task

For all environments, you can set the thread priority by modifying the ActiveThreadPriority property for the class. The default priority for all threads is taken from the DefaultThreadPriority static class member of the OMOSThread framework class (defined in Share\oxf\os.h).

For all environments, you can set the initial size of the thread stack by modifying the ActiveStackSize property for the class. This property helps provide support for static memory architectures. The default size for thread stacks is taken from the DefaultStackSize static class member of the OMOSThread framework class.


Feedback