StyleCopConsole event handlers must be thread safe

Mar 23, 2011 at 5:32 AM

StyleCop uses multiple threads for analysis, one thread per CPU. This means that event handlers like OnViolationEncountered or OnOutputGenerated can be called simultaneously from several threads. So their implementation must be thread safe.

We need to reflect this in documentation.

Mar 23, 2011 at 8:28 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.