This project is read-only.

StyleCopConsole event handlers must be thread safe

Mar 23, 2011 at 6: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 9:28 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.