Skip to content

benchmarks/osperf: Include nuttx/wqueue - #4138

Open
yangsong8-a1 wants to merge 1 commit into
apache:masterfrom
yangsong8-a1:osperf-wqueue-include
Open

yangsong8-a1 wants to merge 1 commit into
apache:masterfrom
yangsong8-a1:osperf-wqueue-include

Conversation

@yangsong8-a1

Copy link
Copy Markdown
Contributor

Summary

  • benchmarks/osperf/osperf.c uses struct work_s and work_queue(), which it got only transitively through the sched.h include chain in NuttX. Include <nuttx/wqueue.h> directly.

Impact

Testing

osperf.c uses struct work_s and work_queue(), which it got only
transitively through the sched.h include chain in NuttX. Include
<nuttx/wqueue.h> directly so the file keeps building after
include/nuttx/addrenv.h no longer pulls sched.h.

Assisted-by: opencode:zhipuai/glm-5.3
Signed-off-by: yangsong8 <yangsong8@xiaomi.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant