From 2e8cee48f745ce38674a8e886e3d188410237b92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=8B=D1=87=D0=BA=D0=BE=D0=B2=20=D0=90=D0=BD=D0=B4?= =?UTF-8?q?=D1=80=D0=B5=D0=B9?= Date: Fri, 7 Oct 2016 10:14:07 +0000 Subject: [PATCH] git-svn-id: svn://db.shs.com.ru/pip@278 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5 --- src/thread/pipipelinethread.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/thread/pipipelinethread.h b/src/thread/pipipelinethread.h index 10b33291..4d815a14 100644 --- a/src/thread/pipipelinethread.h +++ b/src/thread/pipipelinethread.h @@ -114,7 +114,7 @@ public: void setWaitNextPipe(bool wait) {wait_next_pipe = wait;} protected: - virtual Tout calc(const Tin &v, bool &ok) = 0; + virtual Tout calc(Tin &v, bool &ok) = 0; private: void begin() {cnt = 0;} @@ -122,7 +122,7 @@ private: mutex.lock(); if (in.isEmpty()) { mutex.unlock(); - piMSleep(1); + piMSleep(10); return; } if (next_overload && wait_next_pipe) {