Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ ~ScopedReservation
Method
~ScopedReservation
tensorflow/compiler/xla/python/semaphore.cc:48–52 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
46
}
47
48
Semaphore::ScopedReservation::~ScopedReservation() {
49
if (semaphore_) {
50
semaphore_->Release(amount_);
51
}
52
}
53
54
Semaphore::ScopedReservation::ScopedReservation(
55
ScopedReservation&& other) noexcept {
Callers
nothing calls this directly
Calls
1
Release
Method · 0.45
Tested by
no test coverage detected