attr Address of the thread attributes object whose stack address attribute is obtained. stackaddr Receives the value of the stack address attribute of the thread attributes object specified by attr.