Clears all collected coverage.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 8664 Build 8664: arc lint + arc unit
Event Timeline
Comment Actions
PTAL. I've slapped a mutex on all updates to pc_vector other than new coverage. This should prevent reset/dump vs dlopen conflicts (dlopen may reallocate pc_vector). Reset/dump vs new coverage is IMHO too trivial to even mention in the comments, and completely safe.
Comment Actions
Removed the lock. Was not a good idea: we can not protect new coverage vs dlopen anyway (which is the most common race by far).
Write something about threads (more that one thread => warranty void)