Skip to content

Add a test for I/O managers

Duncan Coutts requested to merge dcoutts/ghc:dcoutts/io-manager-test into master

It tries to cover the cases of multiple threads waiting on the same fd for reading and multiple threads waiting for writing, including wait cancellation by async exceptions.

It should work for any I/O manager, in-RTS or in-Haskell. Unfortunately it will not currently work for Windows because it relies on anonymous unix sockets. It could in principle be ported to use Windows named pipes.

Edited by Duncan Coutts

Merge request reports