MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / MutThreadLocalError

Function MutThreadLocalError

oneflow/core/common/error.cpp:41–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41std::shared_ptr<StackedError>* MutThreadLocalError() {
42 thread_local std::shared_ptr<StackedError> error;
43 return &error;
44}
45
46} // namespace
47

Callers 2

ThrowErrorFunction · 0.85
error.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected