diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-06-12 06:10:28 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-06-12 06:10:28 +0200 |
commit | 041d34fe4eb2f3cde6bab9313c6c2f63e3db4776 (patch) | |
tree | 636935622e2b15a8d1195dd24522d013110a62cd /FTNoIR_Tracker_PT/boost-compat.h | |
parent | f0790cee70bb95209f42ea54e2a96f17b02110d6 (diff) |
fix a data race caused by std::atomic usage
There was a window between grabbing the atomically-stored
pointer and unsetting it. The exchange method allows for doing
this in a really atomic fashion, however.
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'FTNoIR_Tracker_PT/boost-compat.h')
0 files changed, 0 insertions, 0 deletions