Skip to content
Snippets Groups Projects
Commit 295399ce authored by Vladimir Davydov's avatar Vladimir Davydov Committed by Roman Tsisyk
Browse files

fiber: return fiber function return code from fiber_join and cord_join

To be used as an indicator of exception. From now on one should write

  if (fiber_join(...)) // or cord_join(...)
    diag_raise();

instead of

  fiber_join(...);
  diag_raise();

Now we can make diag_raise() assert that diag is not empty.

Closes #1847
parent 510b359d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment