summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/tracker.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-07-06 17:04:08 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-07-06 17:04:08 +0200
commit8b4061609304743e4082e02f8c91e5ba0fd3c2a3 (patch)
tree2e74fd6e9591ccd668a3311271acb95f3e7a634b /facetracknoir/tracker.h
parentf822e5e1217fd0a44e17e7a0d39e115095270cc0 (diff)
Remove data race between UI and tracker thread
Diffstat (limited to 'facetracknoir/tracker.h')
-rw-r--r--facetracknoir/tracker.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/facetracknoir/tracker.h b/facetracknoir/tracker.h
index de894cf5..f452395d 100644
--- a/facetracknoir/tracker.h
+++ b/facetracknoir/tracker.h
@@ -109,6 +109,7 @@ class Tracker : public QThread {
private:
FaceTrackNoIR *mainApp;
+ QMutex mtx;
protected:
// qthread override run method