Skip to content
  • Simon Marlow's avatar
    Optimise wakeups for STM · 502640c9
    Simon Marlow authored and Ben Gamari's avatar Ben Gamari committed
    Avoids repeated wakeup messages being sent when a TVar is written to
    multiple times. See comments for details.
    
    Test Plan:
    * Test from #15136 (will be added to stm shortly)
    * existing stm tests
    
    Reviewers: bgamari, osa1, erikd
    
    Reviewed By: bgamari
    
    Subscribers: rwbarton, thomie, carter
    
    GHC Trac Issues: #15136
    
    Differential Revision: https://phabricator.haskell.org/D4961
    502640c9