attr Thread attributes object whose detachstate attribute is obtained. detachstate Receives the value of the detachstate attribute.