RT-Thread / RT-Thread/rt-thread

message queue 在 SMP 环境使用必须绑定核心

Open
#7,685 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
12.2k
Forks
5.4k
Avg merge
4d 12h
Merged PRs (30d)
40

Description

在v5.0.1和v4版本中,utest kernel test的 message queue例程在 SMP环境使用必须绑定核心 ,否则出现收发不匹配的错误且会卡死,树莓派4b/qemu/arm64/32硬件都出现该问题
image (3)
image (1)
image (2)

Contributor guide

Open the contributing guide

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.

Research direction

Start with the utest kernel test message queue example and reproduce it in an SMP environment on the listed Raspberry Pi 4B, QEMU, or ARM64/32 setups. The issue is resolved when message sending and receiving remain matched and do not deadlock without binding execution to a core.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.