tarantool / tarantool/doc

[3pt] fiber.wakeup() in Lua and fiber_wakeup() in C are nop on self

Open
#2,109 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

add details behavior change server
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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.