RT-Thread/rt-thread

[Feature] thread stack 相关提案

Open

#9,351 建立於 2024年8月26日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)C (4,755 fork)batch import
RT-Smartgood first issue

倉庫指標

Star
 (9,223 star)
PR 合併指標
 (平均合併 7天 22小時) (30 天內合併 50 個 PR)

描述

Describe problem solved by the proposed feature

需求

  • thread stack 支持架构定义阈值,避免中断上下文直接导致栈溢出.
  • thread stack 动态分配方式支持配置。可以(在 smart 上)通过 page 管理器(或其他专用池?)分配。因为 memheap 使用一段时间后产生碎片化,可能分配不出 KB 级别数据.

Describe your preferred solution

No response

Describe possible alternatives

No response

貢獻者指南