BIG deep clean

This commit is contained in:
2020-06-10 13:14:16 +03:00
parent f579718e0b
commit c59579d5d5
222 changed files with 2392 additions and 11600 deletions

View File

@@ -4,7 +4,7 @@
/*
PIP - Platform Independent Primitives
Class for create multihread pipeline
Copyright (C) 2020 Andrey Bychkov work.a.b@yandex.ru
Andrey Bychkov work.a.b@yandex.ru
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
@@ -52,7 +52,7 @@ public:
void enqueue(const Tin &v) {enqueue(v, 0);}
EVENT_HANDLER2(void, enqueue, const Tin &, v, bool *, overload) {
mutex.lock();
//piCoutObj << "enque" << overload;//max_size << in.size();
//piCoutObj << "enque" << overload;
if (max_size == 0 || in.size() < max_size) {
in.enqueue(v);
if (overload) *overload = false;
@@ -150,7 +150,6 @@ private:
last = r;
mutex_l.unlock();
cnt++;
// next_overload = true;
//piCoutObj << "calc ok" << &next_overload;
calculated(r, &next_overload);
}