[3pt] fiber.wakeup() in Lua and fiber_wakeup() in C are nop on self
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 15
- Forks
- 49
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 3
Description
Since: Tarantool 2.7.2
SME: @Gerold103
root document: https://www.tarantool.io/ru/doc/latest/dev_guide/reference_capi/fiber/#c.fiber_wakeup
Details
In Lua fiber.wakeup() being called on the current fiber does not
do anything, safe to use. The same for fiber_wakeup() in C.
https://github.com/tarantool/tarantool/commit/db0ded5d2a0d87acd69c97c22b057b76e50a899d.
Note: fiber.wakeup() is not described. Why?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked C API root document and the referenced commit to understand the existing fiber_wakeup behavior. Check the surrounding fiber API documentation, then document the self-wakeup behavior for both fiber.wakeup() and fiber_wakeup(), including the missing Lua API description.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, lua
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100