Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cutdigital/mcut
/ threadsafe_stack
Method
threadsafe_stack
include/mcut/internal/tpool.h:987–987 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
985
mutable std::mutex m;
986
public:
987
threadsafe_stack(){}
988
threadsafe_stack(const threadsafe_stack& other)
989
{
990
std::lock_guard<std::mutex> lock(other.m);
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected