Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ SafeQueue
Method
SafeQueue
include/singa/utils/safe_queue.h:38–38 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
36
class SafeQueue {
37
public:
38
SafeQueue() = default;
39
~SafeQueue() { std::lock_guard<std::mutex> lock(mutex_); }
40
41
/**
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected