I am creating some custom performance counters. I will be creating tasks on a thread pool and incrementing/decrementing the counters from within multiple worker threads.
Do I need to give each thread a new counter object? Is it safe to share a performance counter object cross-thread (for increment/decrement)