attach_stack and HardwareThread_cstr