zephyr: Add constructor for ThreadStack and update usage (#143) This pull request refactors the ThreadStack struct to improve encapsulation and usability. The main changes include making ThreadStack fields private, introducing a constructor and accessor methods, and updating all usages to use the new API. These changes clarify how stack data is accessed and constructed, making the codebase safer and easier to maintain.
zephyr: Add constructor for ThreadStack and update usage (#143)
This pull request refactors the ThreadStack struct to improve encapsulation and usability. The main changes include making ThreadStack fields private, introducing a constructor and accessor methods, and updating all usages to use the new API. These changes clarify how stack data is accessed and constructed, making the codebase safer and easier to maintain.
ThreadStack
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号