summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_ft
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-10-06 07:08:52 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-10-06 07:09:39 +0200
commit58e93b106a637b9a3f9f9de90d93301f0215c8b9 (patch)
treebb1c7fc46831227a2a27d6300795f826c393d91e /ftnoir_protocol_ft
parenta50d81c55c4364c7096fc8abcd19cfe6e25b1c07 (diff)
ft: try without locking this time
Diffstat (limited to 'ftnoir_protocol_ft')
-rw-r--r--ftnoir_protocol_ft/ftnoir_protocol_ft.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp b/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp
index 6259029f..d825afb1 100644
--- a/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp
+++ b/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp
@@ -66,8 +66,6 @@ void FTNoIR_Protocol::pose(const double* headpose) {
FTHeap* ft = pMemData;
FTData* data = &ft->data;
- shm.lock();
-
data->RawX = 0;
data->RawY = 0;
data->RawZ = 0;
@@ -108,8 +106,6 @@ void FTNoIR_Protocol::pose(const double* headpose) {
}
data->DataID += 1;
-
- shm.unlock();
}
void FTNoIR_Protocol::start_tirviews() {