Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workq in Kernel primer for unified kernel #2528

Closed
zephyrbot opened this issue Sep 30, 2016 · 2 comments
Closed

workq in Kernel primer for unified kernel #2528

zephyrbot opened this issue Sep 30, 2016 · 2 comments
Labels
area: Kernel Enhancement Changes/Updates/Additions to existing features priority: medium Medium impact/importance bug
Milestone

Comments

@zephyrbot
Copy link
Collaborator

zephyrbot commented Sep 30, 2016

Reported by Sharron LIU:

Probably this has been considered, if yes, please duplicate it.
[~ajnebnim] you may decide if this should be converted to a story or a sub-task of it.

As it was concluded "Workqueues will be brought in as a first-class unified kernel object", then as a tester or developer using workqueue, I would like to learnt how to use it from kernel doc, like https://gerrit.zephyrproject.org/r/#/c/4511
Interested questions like,

  • how to re-submit (or repeatedly execute) a work item?
  • in kernel v1 the "nano_work.h" mentioned "the work is considered complete and can be resubmitted", what is the API for app to be aware the work is "complete"?

    it looks that there's no API indication of "complete". re-submitting is invoking "nano_work_submit()" again from the handler of a work item. It would be helpful if this is explained and provided sample codes in the kernel doc.

  • is adding new work item allowed after started a work queue?

(Imported from Jira ZEP-1023)

@zephyrbot
Copy link
Collaborator Author

by Allan Stephens:

Workqueues are now documented in the Kernel Primer, under "Workqueue Threads".

@zephyrbot
Copy link
Collaborator Author

by Inaky Perez-Gonzalez:

Verified.

@zephyrbot zephyrbot added priority: medium Medium impact/importance bug area: Kernel Enhancement Changes/Updates/Additions to existing features labels Sep 23, 2017
@zephyrbot zephyrbot added this to the v1.6.0 milestone Sep 23, 2017
@zephyrbot zephyrbot mentioned this issue Sep 23, 2017
49 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Kernel Enhancement Changes/Updates/Additions to existing features priority: medium Medium impact/importance bug
Projects
None yet
Development

No branches or pull requests

1 participant