Mercurial > hg > qm-dsp
view 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 |
line wrap: on
line source
#ifndef QM_DSP_RESTRICT_H #define QM_DSP_RESTRICT_H #ifdef _MSC_VER #define QM_R__ __restrict #endif #ifdef __GNUC__ #define QM_R__ __restrict__ #endif #ifndef QM_R__ #define QM_R__ #endif #endif