This
method specifies whether an operating system thread in destruction
is deleted.
Signaturevoid setEndOSThreadInDtor (OMBoolean val)
Parametersval
Specifies one of the following Boolean
values:
- TRUE - Delete the
object representing
the operating system thread (and release the resources).
- FALSE - Do not delete the object
representing the operating system thread. For example, the application
is executing on this thread and, if it is deleted, the system will
"leak" resources.
Notes- ~OMThread calls setEndOSThreadInDtor with
a value of TRUE prior to destroying the thread.
- deregisterThread (private) calls setEndOSThreadInDtor with
a value of TRUE prior to destroying the thread.
- setEndOSThreadInDtor is typically
used in conjunction with the isNotDelay method.