attr
    Address of the thread attributes object whose stack address
    attribute is obtained.
 stackaddr
    Receives the address of the stack region of the thread attributes
    object specified by attr.
 size
    The size of the stack region in bytes.