git-svn-id: svn://db.shs.com.ru/pip@278 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -114,7 +114,7 @@ public:
|
|||||||
void setWaitNextPipe(bool wait) {wait_next_pipe = wait;}
|
void setWaitNextPipe(bool wait) {wait_next_pipe = wait;}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual Tout calc(const Tin &v, bool &ok) = 0;
|
virtual Tout calc(Tin &v, bool &ok) = 0;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void begin() {cnt = 0;}
|
void begin() {cnt = 0;}
|
||||||
@@ -122,7 +122,7 @@ private:
|
|||||||
mutex.lock();
|
mutex.lock();
|
||||||
if (in.isEmpty()) {
|
if (in.isEmpty()) {
|
||||||
mutex.unlock();
|
mutex.unlock();
|
||||||
piMSleep(1);
|
piMSleep(10);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (next_overload && wait_next_pipe) {
|
if (next_overload && wait_next_pipe) {
|
||||||
|
|||||||
Reference in New Issue
Block a user