On OS X, we have pthread_cond_timedwait_relative_np. TSan needs to intercept this API to avoid false positives when using condition variables.
Details
Details
Diff Detail
Diff Detail
Differential D18184
[tsan] Add interceptor for pthread_cond_timedwait_relative_np ClosedPublic Authored by kubamracek on Mar 15 2016, 7:01 AM.
Details Summary On OS X, we have pthread_cond_timedwait_relative_np. TSan needs to intercept this API to avoid false positives when using condition variables.
Diff Detail Event Timelinekubamracek retitled this revision from to [tsan] Add interceptor for pthread_cond_timedwait_relative_np. kubamracek updated this object.
This revision is now accepted and ready to land.Mar 15 2016, 7:59 AM Closed by commit rL263782: [tsan] Add interceptor for pthread_cond_timedwait_relative_np (authored by kuba.brecka). · Explain WhyMar 18 2016, 3:59 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 50726 lib/tsan/rtl/tsan_interceptors.cc
|
Can this be a function instead of a macro?