diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-07-06 17:04:08 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-07-06 17:04:08 +0200 |
commit | 8b4061609304743e4082e02f8c91e5ba0fd3c2a3 (patch) | |
tree | 2e74fd6e9591ccd668a3311271acb95f3e7a634b /facetracknoir/tracker.h | |
parent | f822e5e1217fd0a44e17e7a0d39e115095270cc0 (diff) |
Remove data race between UI and tracker thread
Diffstat (limited to 'facetracknoir/tracker.h')
-rw-r--r-- | facetracknoir/tracker.h | 1 |
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
|