ProcStats : Use mutex lock to make fetch() thread safe.
All threads resolved!
All threads resolved!
Compare changes
Files
3+ 76
− 74
@@ -30,10 +30,6 @@
@@ -202,41 +198,41 @@ using std::endl;
@@ -245,17 +241,19 @@ ProcStats* ProcStats::instance() {
@@ -265,39 +263,43 @@ bool ProcStats::fetch( procInfo& f ) {