-
-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keep instrumentation enabled on tests with multithreading. #35
Comments
I had a look at the current code for handling threads, and I don't really understand what it is doing. It looks like it is trying to keep an |
You're 100% right on what the code is doing! And thanks for that tip, I'll admit I'm still learning about some of the intricacies of TIDs and TGIDs. I'll look into this at some point, just got some issues I'm working on right now that I'd like to finish before I move onto other tasks 👍 |
FWIW, using |
Ping @xd009642 Any luck with the TGID/TID stuff? |
Nope no luck at all, I got stuck and decided to shelve it for now. Unless anyone else has any bright ideas! |
Improves user experience for #35 but doesn't fix problem
Closed, the solution for #190 fixed this issue |
From #21 instrumentation was disabled after it was first hit when the test or function tested contained multi-threaded code. This prevented a race condition with ptrace pokes, but disrupts the hit count.
The hit count isn't too meaningful a statistic so it's low priority, however this is necessary for decision or condition coverage so will need to be sorted for that.
The text was updated successfully, but these errors were encountered: