Skip to content
Snippets Groups Projects
Commit 01415d4a authored by Роман Хаит's avatar Роман Хаит
Browse files

added method tarantool::fiber::id() to pub fn fiber_id() -> u64

parent 47c25b83
No related branches found
No related tags found
1 merge request!1414sbroad import
#[cfg(all(feature = "tracing", not(feature = "mock")))]
#[inline]
pub fn fiber_id() -> u64 {
let lua = tarantool::lua_state();
lua.eval("return require('fiber').id()").unwrap()
tarantool::fiber::id()
}
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