Skip to content

refactor: encapsulate fiber::csw utility functions

Yaroslav Dynnikov requested to merge export-fiber-csw into master

Follow-up for !251 (merged) (an alternative layout)

This patch provides new public items:

  • tarantool::fiber::csw()
  • tarantool::fiber::check_yield()
  • tarantool::fiber::YieldResult
  1. Move the code into another module - tarantool::fiber::csw.
  2. The module itself is private, but it's content is re-exported in tarantool::fiber module.
  3. Make them accessible without tarantool_test feature flag.
  4. Rename YieldResult in the past tense: Yielded / DidntYield.
  5. Supply it with the documentation.
Edited by Yaroslav Dynnikov

Merge request reports