aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2022-06-27 10:34:17 -0300
committerAlexandre Oliva <oliva@gnu.org>2022-06-27 10:34:17 -0300
commit0a3bb459e59e61bc52218dc6aa41c746d309f6a2 (patch)
tree2bed70d683cb86ec17a69db55902c777b4cc7ae4 /gcc/expr.cc
parent486893b1d325d22d54c1380937943913a7501f91 (diff)
downloadgcc-0a3bb459e59e61bc52218dc6aa41c746d309f6a2.zip
gcc-0a3bb459e59e61bc52218dc6aa41c746d309f6a2.tar.gz
gcc-0a3bb459e59e61bc52218dc6aa41c746d309f6a2.tar.bz2
testsuite: pthread: call sched_yield for non-preemptive targets
Systems without preemptive multi-threading require sched_yield calls to be placed at points in which a context switch might be needed to enable the test to complete. for gcc/testsuite/ChangeLog * gcc.dg/atomic/c11-atomic-exec-4.c: Call sched_yield. * gcc.dg/atomic/c11-atomic-exec-5.c: Likewise. * gcc.dg/atomic/pr80640-2.c: Likewise. * gcc.dg/atomic/pr80640.c: Likewise. * gcc.dg/atomic/pr81316.c: Likewise. * gcc.dg/di-sync-multithread.c: Likewise.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions