diff options
author | Uwe Klotz <uklotz@mixxx.org> | 2021-09-22 11:43:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-22 11:43:04 +0200 |
commit | f9bb84f7cae99e42b063bde0f6852689c4e0d4ec (patch) | |
tree | 85453a6841ebecb9b439787bf907a4ad38bb5cad /src/controllers | |
parent | fb8f85534e2cc85f2ee44f5b0ce899a9a8afc70c (diff) | |
parent | 4a6099f4502f60e77d61b1b92e9ded29dc37606f (diff) |
Merge pull request #4320 from daschuer/atomicLoadAquire
Retire atomicLoadAcquire()
Diffstat (limited to 'src/controllers')
-rw-r--r-- | src/controllers/bulk/bulkcontroller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controllers/bulk/bulkcontroller.cpp b/src/controllers/bulk/bulkcontroller.cpp index a087d5574d..0f30ebaee1 100644 --- a/src/controllers/bulk/bulkcontroller.cpp +++ b/src/controllers/bulk/bulkcontroller.cpp @@ -28,7 +28,7 @@ void BulkReader::run() { m_stop = 0; unsigned char data[255]; - while (atomicLoadAcquire(m_stop) == 0) { + while (m_stop.loadAcquire() == 0) { // Blocked polling: The only problem with this is that we can't close // the device until the block is released, which means the controller // has to send more data |