changeset 61:d5b6b88e2025

* Add thread abstraction
author cannam
date Tue, 12 May 2009 17:55:36 +0000
parents ba4076cb1be1
children b63f1ccbc9b6
files qm-dsp.pro
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/qm-dsp.pro	Thu Apr 02 11:17:45 2009 +0000
+++ b/qm-dsp.pro	Tue May 12 17:55:36 2009 +0000
@@ -6,6 +6,9 @@
 
 linux-g++*:QMAKE_CXXFLAGS_RELEASE += -DNDEBUG -O3 -fno-exceptions -fPIC -ffast-math -msse -msse2 -ftree-vectorize -fomit-frame-pointer
 
+linux-g++*:DEFINES += USE_PTHREADS
+macx-g++*:DEFINES += USE_PTHREADS
+
 linux-g++-64:INCLUDEPATH += ../qm-vamp-plugins/build/linux/amd64
 
 macx-g++:QMAKE_CXXFLAGS_RELEASE += -fvisibility=hidden
@@ -64,7 +67,8 @@
            maths/MathAliases.h \
            maths/MathUtilities.h \
            maths/Polyfit.h \
-           maths/pca/pca.h
+           maths/pca/pca.h \
+           thread/Thread.h
 SOURCES += base/Pitch.cpp \
            dsp/chromagram/Chromagram.cpp \
            dsp/chromagram/ChromaProcess.cpp \
@@ -98,4 +102,5 @@
            maths/CosineDistance.cpp \
            maths/KLDivergence.cpp \
            maths/MathUtilities.cpp \
-           maths/pca/pca.c
+           maths/pca/pca.c \
+           thread/Thread.cpp