From 58e93b106a637b9a3f9f9de90d93301f0215c8b9 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 6 Oct 2015 07:08:52 +0200 Subject: ft: try without locking this time --- ftnoir_protocol_ft/ftnoir_protocol_ft.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ftnoir_protocol_ft') 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() { -- cgit v1.2.3