summaryrefslogtreecommitdiff
path: root/testsuite/tests/concurrent/should_run/all.T
diff options
context:
space:
mode:
authorDouglas Wilson <douglas.wilson@gmail.com>2022-06-17 13:54:48 +0100
committerDouglas Wilson <douglas.wilson@gmail.com>2022-08-05 12:50:36 +0100
commitaae55d69d6165a9fe1c15944743d3c36c8880da9 (patch)
tree3b9e6d3381cc99e82e8aa45e19e42211e100fb5a /testsuite/tests/concurrent/should_run/all.T
parent6369fc5e6fb242f4416722903f22df5b6cdea789 (diff)
downloadhaskell-wip/21651.tar.gz
base: Fix races in IOManager (setNumCapabilities,closeFdWith)wip/21651
Fix for #21651 Fixes three bugs: - writes to eventManager should be atomic. It is accessed concurrently by ioManagerCapabilitiesChanged and closeFdWith. - The race in closeFdWith described in the ticket. - A race in getSystemEventManager where it accesses the 'IOArray' in 'eventManager' before 'ioManagerCapabilitiesChanged' has written to 'eventManager', causing an Array Index exception. The fix here is to 'yield' and retry.
Diffstat (limited to 'testsuite/tests/concurrent/should_run/all.T')
-rw-r--r--testsuite/tests/concurrent/should_run/all.T1
1 files changed, 0 insertions, 1 deletions
diff --git a/testsuite/tests/concurrent/should_run/all.T b/testsuite/tests/concurrent/should_run/all.T
index 11cecb3d14..6bfeab4410 100644
--- a/testsuite/tests/concurrent/should_run/all.T
+++ b/testsuite/tests/concurrent/should_run/all.T
@@ -229,7 +229,6 @@ test('T21651',
when(opsys('mingw32'),skip), # uses POSIX pipes
when(opsys('darwin'),extra_run_opts('8 12 2000 100')),
unless(opsys('darwin'),extra_run_opts('8 12 2000 200')), # darwin runners complain of too many open files
- expect_broken('21651'),
req_smp ],
compile_and_run, [''])