• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / tarantool / 21666497314

04 Feb 2026 09:44AM UTC coverage: 87.608% (+0.01%) from 87.598%
21666497314

push

github

locker
fiber: introduce cord_cancel method

The new method sends an event to the given cord, which makes it stop.
It works only if the cord is running an event loop, either implicitly,
inside the cord_costart() function, or explicitly, by calling ev_run()
directly. If the cord was started with cord_costart(), it cancels
the main fiber. As soon as the main fiber returns, the event loop
running in the cord will be broken and the cord will exit. If the cord
was started with cord_start() and is running the event loop explicitly,
cord_cancel() will send an event to it that will break the event loop
immediately. The function reuses the event introduced for handling
the case when cord_cojoin() is cancelled, see commit 6f8b0b6437eaf
("fiber: make cord_cojoin cancellable").

NO_DOC=internal
NO_CHANGELOG=internal

70276 of 118245 branches covered (59.43%)

8 of 8 new or added lines in 1 file covered. (100.0%)

33 existing lines in 11 files now uncovered.

105634 of 120576 relevant lines covered (87.61%)

1381655.72 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

81.82
/src/lua/minifio.c


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc