Return the value of the detachedState attribute of this object.

Synopsis

Declared in <bslmt_threadattributes.h>

ThreadAttributes::DetachedState
detachedState() const;

Description

A value of e_CREATE_JOINABLE indicates that a thread must be joined after it terminates to clean up its resources; a value of e_CREATE_DETACHED (the only other legal value) indicates that the resources will be cleaned up automatically upon thread termination, and that the thread must not be joined.

Return Value

the detachedState attribute of this object

Created with MrDocs