RT-Thread / RT-Thread/rt-thread

aio 系列函数,操作结束后没有向调用者发送信号

Open
#3,130 3 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

aio_fync_work
aio_read_work
aio_write_work

1、这几个函数操作结束后,没有使用 cb->aio_sigevent 发送信号。
2、仔细看了一下,struct aiocb *cb 结构里面没有记录线程信息,结束后也不知道谁是调用者。

对比了一下 nuttx,rtthread,两者代码很相似,看起来 rtt 的 aio 还不完善。。。

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 locating aio_fync_work, aio_read_work, and aio_write_work, then inspect struct aiocb and its aio_sigevent member. Trace how each operation identifies its caller and compare the completion path with the stated signal requirement; done means completed operations notify the caller reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot, operating-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.