[Feature] 使用std::thread栈过小/不会自动扩容栈

Open
#11,207 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp

Research direction

Start by tracing std::thread and the pthread stack-size configuration path, then reproduce the pth00 stack-near-end warning. Clarify whether the intended result is automatic stack expansion or a Kconfig-controlled size, and define validation for the selected behavior.

Written by the indexing model from the issue text.

Description

Describe problem solved by the proposed feature

std::thread似乎没有api去调stack,然后既然写c++了,默认的2048有点过小了。。。感觉要么最好支持自动扩容栈要么可以用kconfig去调pthread的栈大小。

[67895] W/kernel.sched: warning: pth00 stack is close to end of stack address.

Describe your preferred solution

No response

Describe possible alternatives

No response

Dominant language
C
Stars
12.4k
Forks
5.5k
Avg merge
3d 7h
Merged PRs (30d)
79

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from RT-Thread/rt-thread

All issues in RT-Thread/rt-thread

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.