Each application starts with a single thread named mainThread.
Whenever an
instance of an active class is created, a new thread is created with
it. During construction of the instance, the name of the thread is
@<in
construction>; from then on, the name is @<instanceName>.
When an instance of an active class is deleted, its thread dies with it and cannot be referenced anymore.
When you register an external thread, you give it a name that is used to identify it in tracer or animation. This is an advanced feature needed in special cases.
When an unregistered external thread calls on an instrumented operation, that thread is identified by the handle the operating system gives it. This happens typically if you connect your instrumented code with a GUI engine that does not use events. (This is an advanced feature needed in special cases.)
For more information, see Considerations for using multiple threads.