Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ with_lock
Method
with_lock
library/cpp/threading/chunk_queue/queue.h:360–362 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
358
template <typename TT>
359
void Enqueue(TT&& value) {
360
with_lock (WriteLock) {
361
Queue.Enqueue(std::forward<TT>(value));
362
}
363
}
364
365
bool Dequeue(T& value) {
Callers
nothing calls this directly
Calls
3
Enqueue
Method · 0.45
Dequeue
Method · 0.45
IsEmpty
Method · 0.45
Tested by
no test coverage detected