Skip to content

Configurable work thread pool for data collectors

Joao Paulo Martins requested to merge load_balance into add_more_info

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)

Merge request reports