[Git][ghc/ghc][wip/romes/async-rpc] fixup! use fillPipe thread, writePipe now safely interruptible
Andrea Vezzosi pushed to branch wip/romes/async-rpc at Glasgow Haskell Compiler / GHC Commits: 2c718d86 by Andrea Vezzosi at 2026-10-19T14:59:21+02:00 fixup! use fillPipe thread, writePipe now safely interruptible - - - - - 1 changed file: - libraries/ghci/GHCi/Message/Async.hs Changes: ===================================== libraries/ghci/GHCi/Message/Async.hs ===================================== @@ -152,7 +152,7 @@ instance Exception PipeWriteClosedException -- and identify whether they are requests or replies. writePipe :: Pipe -> IddMsg -> IO () -writePipe p@Pipe{..} msg = atomically $ do +writePipe Pipe{..} msg = atomically $ do readTVar pipeWriteClosed >>= \case True -> throwSTM PipeWriteClosedException False -> pure () View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/2c718d86604e68360fadec6959ac375c... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/2c718d86604e68360fadec6959ac375c... You're receiving this email because of your account on gitlab.haskell.org. Manage all notifications: https://gitlab.haskell.org/-/profile/notifications | Help: https://gitlab.haskell.org/help
participants (1)
-
Andrea Vezzosi (@trac-Saizan)