RT-Thread/rt-thread

[Feature] thread stack 相关提案

Open

#9351 aperta il 26 ago 2024

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)C (4755 fork)batch import
RT-Smartgood first issue

Metriche repository

Star
 (9223 star)
Metriche merge PR
 (Merge medio 7g 22h) (50 PR mergiate in 30 g)

Descrizione

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

Guida contributor