Skip to content
Snippets Groups Projects
Commit 15e0d8ec authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Merge remote-tracking branch 'origin/gh-650-zombie-fibers'

parents aae0bb24 dfa54f1c
No related merge requests found
......@@ -655,10 +655,5 @@ int fiber_stat(fiber_stat_cb cb, void *cb_ctx)
if (res != 0)
return res;
}
rlist_foreach_entry(fiber, &cord->zombie_fibers, link) {
res = cb(fiber, cb_ctx);
if (res != 0)
return res;
}
return 0;
}
......@@ -770,6 +770,16 @@ getmetatable(fiber.info())
---
- __serialize: mapping
...
zombie = false
---
...
for fid, i in pairs(fiber.info()) do if i.name == 'zombie' then zombie = true end end
---
...
zombie
---
- false
...
fiber = nil
---
...
......@@ -316,4 +316,8 @@ f3:cancel()
--
getmetatable(fiber.info())
zombie = false
for fid, i in pairs(fiber.info()) do if i.name == 'zombie' then zombie = true end end
zombie
fiber = nil
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