annotate base/Restrict.h @ 461:9414df58fd0e

Fix an issue is a mutithreading context The global profile buffers where used concurrently by different threads leading to wrong detection results. This is fixed by using a local copy of the buffers. In addition, this commit also includes some minor performance improvements.
author Daniel Schürmann <daschuer@mixxx.org>
date Fri, 24 May 2019 21:40:47 +0200
parents 7461bf03194e
children 64fc3009d0a3
rev   line source
c@434 1
c@434 2 #ifndef QM_DSP_RESTRICT_H
c@434 3 #define QM_DSP_RESTRICT_H
c@434 4
c@434 5 #ifdef _MSC_VER
c@434 6 #define QM_R__ __restrict
c@434 7 #endif
c@434 8
c@434 9 #ifdef __GNUC__
c@434 10 #define QM_R__ __restrict__
c@434 11 #endif
c@434 12
c@434 13 #ifndef QM_R__
c@434 14 #define QM_R__
c@434 15 #endif
c@434 16
c@434 17 #endif