Skip to content
  • Duncan Coutts's avatar
    cc1c7c54
    Add a test for I/O managers · cc1c7c54
    Duncan Coutts authored and Marge Bot's avatar Marge Bot committed
    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.
    cc1c7c54
    Add a test for I/O managers
    Duncan Coutts authored and Marge Bot's avatar Marge Bot committed
    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.
Loading