Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ DeferRelease
Method
DeferRelease
library/cpp/threading/future/async_semaphore.cpp:70–74 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
68
}
69
70
std::function<void (const TFuture<void>&)> TAsyncSemaphore::TAutoRelease::DeferRelease() {
71
return [s = std::move(this->Sem)](const TFuture<void>&) {
72
s->Release();
73
};
74
}
75
76
}
Callers
1
Y_UNIT_TEST
Function · 0.80
Calls
2
move
Function · 0.50
Release
Method · 0.45
Tested by
no test coverage detected