RE: setup_thread_stack