Configurable work thread pool for data collectors
These commits implement the worker thread pool for the collector tasks, sharing the load of accumulating pvxs::Value
from SDS PVs. It changes the mechanism to emit a signal and launch the flush thread (using std::atomic
), as it is not executed from inside the collector thread(s) anymore. Latest commit fixes some problems of the pvxs::Value
run-time modifications during a flush.
Everything was tested (in CentOS7 using E3)