Refactor thread_info
to remove the RefCell
#115753
Merged
thread_info
to remove the RefCell
#115753