summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-01-13 09:38:44 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-01-13 09:38:44 +0100
commit464cb73809b73f533d4ddc401425484b890b170c (patch)
treea2d701959dd1af5b4b6c2130cfffba87dcfe62de /FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp
parent17bca6cacbd56f4692927a4571b8e49361b52bca (diff)
pt: protect against pthread starvation when stopping
Diffstat (limited to 'FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp')
-rw-r--r--FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp b/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp
index 39825168..d15e13f8 100644
--- a/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp
+++ b/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp
@@ -45,13 +45,13 @@ Tracker::~Tracker()
void Tracker::set_command(Command command)
{
- QMutexLocker lock(&mutex);
+ //QMutexLocker lock(&mutex);
commands |= command;
}
void Tracker::reset_command(Command command)
{
- QMutexLocker lock(&mutex);
+ //QMutexLocker lock(&mutex);
commands &= ~command;
}