MCPcopy Create free account
hub / github.com/3rdparty/libprocess / set

Method set

include/process/logging.hpp:55–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 const Option<http::authentication::Principal>&);
54
55 void set(int v)
56 {
57 if (FLAGS_v != v) {
58 VLOG(FLAGS_v) << "Setting verbose logging level to " << v;
59 FLAGS_v = v;
60
61 // Ensure 'FLAGS_v' visible in other threads.
62#ifdef __WINDOWS__
63 MemoryBarrier();
64#else
65 __sync_synchronize();
66#endif // __WINDOWS__
67 }
68 }
69
70 void revert()
71 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected