From c0c3db3a2056121f9764394ca8c14322cf96a067 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Fri, 27 Apr 2012 16:31:27 +0400 Subject: [PATCH] driver/record.cpp: comment artificial blocking pause on record start/stop - it looks like this operations is slow while its not true Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/c9fd73bb10a4213345148d8f03b4bdc753af98bb Author: [CST] Focus Date: 2012-04-27 (Fri, 27 Apr 2012) --- src/driver/record.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/driver/record.cpp b/src/driver/record.cpp index 43ce3b5e5..1a24de254 100644 --- a/src/driver/record.cpp +++ b/src/driver/record.cpp @@ -129,6 +129,7 @@ bool CRecordInstance::SaveXml() void CRecordInstance::WaitRecMsg(time_t StartTime, time_t WaitTime) { + return; while (time(0) < StartTime + WaitTime) usleep(100000); }