[GHC] #14533: Make GHC more robust against PC crashes by using atomic writes
GHC
ghc-devs at haskell.org
Mon Nov 27 18:41:14 UTC 2017
#14533: Make GHC more robust against PC crashes by using atomic writes
-------------------------------------+-------------------------------------
Reporter: nh2 | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Build System | Version: 8.2.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Compile-time | Unknown/Multiple
crash or panic | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by bgamari):
> So I think the best a compiler can do is to write its file under a fresh
name next to its destination, and rename it when it completed writing it.
Indeed, I believe this is what nh2 was suggesting.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14533#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list