Closed GoogleCodeExporter closed 9 years ago
Also please note magic sleeps placed in both threads! Without them signals sent
from main thread are lost.
Original comment by i...@ikseek.com
on 9 Aug 2014 at 4:07
Commit 216903
http://llvm.org/viewvc/llvm-project?view=revision&revision=216903
allows recursive interceptors.
I will also try to eliminate the need in sleep(1) in main.
The sleep in BusyThread still will be required. But it does not need to be a
sleep, it can be any function intercepted by tsan (e.g. malloc or free), so I
would expect it to not be a problem.
Original comment by dvyu...@google.com
on 2 Sep 2014 at 12:39
Awesome, thanks!
Original comment by i...@unity3d.com
on 3 Sep 2014 at 9:51
I've submitted
http://llvm.org/viewvc/llvm-project?view=revision&revision=217031
which should eliminate the need in sleep in the main thread.
Igor, I hope that this part of tasn now works for you.
If you have any other issues with tsan, feel free to file bug reports.
Original comment by dvyu...@google.com
on 3 Sep 2014 at 12:36
Adding Project:ThreadSanitizer as part of GitHub migration.
Original comment by gli...@google.com
on 30 Jul 2015 at 9:21
Original issue reported on code.google.com by
dvyu...@google.com
on 6 Aug 2014 at 7:37Attachments: