C++ Logo

std-proposals

Advanced search

atomic_swap()

From: Phil Bouchard <boost_at_[hidden]>
Date: Fri, 16 Jul 2021 14:28:46 -0400
I just realized that swap() is not using the XCHG assembly instruction
at all. Maybe adding an atomic_swap() could achieve this?


Regards,

-- 
*Phil Bouchard*
Founder & CTO
C.: (819) 328-4743
Fornux Logo <http://www.fornux.com>

Received on 2021-07-16 13:28:53