OS X doesn't have pthread_yield. Let's use sched_yield instead.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D14428
[tsan] Replace pthread_yield with sched_yield in lit tests ClosedPublic Authored by kubamracek on Nov 6 2015, 1:33 AM.
Details Summary OS X doesn't have pthread_yield. Let's use sched_yield instead.
Diff Detail
Event Timelinekubamracek retitled this revision from to [tsan] Replace pthread_yield with sched_yield in lit tests. kubamracek updated this object. This revision is now accepted and ready to land.Nov 6 2015, 2:10 AM Closed by commit rL252283: [tsan] Replace pthread_yield with sched_yield in lit tests (authored by kuba.brecka). · Explain WhyNov 6 2015, 3:08 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 39505 compiler-rt/trunk/test/tsan/atomic_free3.cc
compiler-rt/trunk/test/tsan/real_deadlock_detector_stress_test.cc
compiler-rt/trunk/test/tsan/signal_errno.cc
|