Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Singular/Singular
/ try_dequeue
Method
try_dequeue
kernel/oswrapper/vspace.h:1127–1132 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1125
return dequeue_nowait();
1126
}
1127
Result<T> try_dequeue() {
1128
if (_incoming.try_wait())
1129
return Result<T>(dequeue_nowait());
1130
else
1131
return Result<T>();
1132
}
1133
};
1134
1135
template <typename T>
Callers
nothing calls this directly
Calls
1
try_wait
Method · 0.80
Tested by
no test coverage detected