Skip to content
Snippets Groups Projects

ProcStats : Use mutex lock to make fetch() thread safe.

Merged Christopher Rob Jones requested to merge jonrob/Gaudi:ProcStats-thread-safe into master
All threads resolved!
Compare and Show latest version
2 files
+ 19
16
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -256,8 +256,6 @@ void ProcStats::open_ufd() {
#endif // __linux__ or __APPLE__
}
ProcStats::ProcStats() { open_ufd(); }
bool ProcStats::fetch( procInfo& f ) {
if ( !m_valid ) { return false; }
Loading