M M R Oct 15, 2007 #1 Is it possible for two threads or applications running simultaneously to update the same performance counters? thanks m
Is it possible for two threads or applications running simultaneously to update the same performance counters? thanks m
A Alberto Poblacion Oct 15, 2007 #2 M R said: Is it possible for two threads or applications running simultaneously to update the same performance counters? Click to expand... From the documentation for System.Diagnostics.PerformanceCounter: "Thread Safety: This type is safe for multithreaded operations." So yes, you should be safe updating the same performance counter from several threads using the PerformanceCounter class.
M R said: Is it possible for two threads or applications running simultaneously to update the same performance counters? Click to expand... From the documentation for System.Diagnostics.PerformanceCounter: "Thread Safety: This type is safe for multithreaded operations." So yes, you should be safe updating the same performance counter from several threads using the PerformanceCounter class.