Skip to content
  • parcs's avatar
    TcRnMonad: make forkM thread-safe · b0a20f26
    parcs authored
    A forkM'd action cannot safely share a UniqSupply with its parent.
    
    [ Originally I resolved this issue in another way: by atomically
      updating env_us in newUnique/newUniqueSupply. But I think this
      (equivalent) change is more sensible. ]
    b0a20f26