RT-Thread / RT-Thread/rt-thread

sigaddset 相关内容不一致

Open
#8,090 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

下面两个是 rtthread 中的定义

image

image

这个是 gcc-arm-none-eabi 中的定义
image

这是 lwp 中的定义

image

总结一下 musl 和 lwp 中的定义一致 和 gcc-arm-none-eabi 以及 rtthread 的定义有区别

这个是在测试使用 musl 测试 qemu a9 rt-thread 的 signal 查出来的问题,使用 musl 的工具链 utest 的 signal 测试失败

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 by comparing the sigaddset definitions in RT-Thread, LWP, musl, and the GCC ARM toolchain, then reproduce the signal utest failure with musl on QEMU A9. Done means the definitions are consistent and the signal test passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.