MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / NoScopedLock

Class NoScopedLock

include/thundersvm/util/log.h:1043–1051  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1041/// @brief Lock guard wrapper used when multi-threading is disabled.
1042 template <typename Mutex>
1043 class NoScopedLock : base::NoCopy {
1044 public:
1045 explicit NoScopedLock(Mutex&) {
1046 }
1047 virtual ~NoScopedLock(void) {
1048 }
1049 private:
1050 NoScopedLock(void);
1051 };
1052 } // namespace internal
1053 typedef base::threading::internal::NoMutex Mutex;
1054 typedef base::threading::internal::NoScopedLock<base::threading::Mutex> ScopedLock;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected