attr Address of the thread attributes object whose stack address attribute is to be modified. stackaddr New value for the address of the stack region of the thread attributes object specified by attr. size The size of the stack region in bytes.