Skip to content
  • Andreas Klebinger's avatar
    WinIO: Small changes related to atomic request swaps. · b41f7c38
    Andreas Klebinger authored and Marge Bot's avatar Marge Bot committed
    Move the atomix exchange over the Ptr type to an internal module.
    
    Fix a bug caused by us passing ptr-to-ptr instead of ptr to
    atomic exchange.
    
    Renamed interlockedExchange to exchangePtr.
    
    I've also added an cas primitive. It turned out we don't need it
    for WinIO but I'm leaving it in as it's useful for other things.
    b41f7c38