Added support for threads restart if config changed.

This commit is contained in:
XMRig
2019-07-18 19:11:45 +07:00
parent f6b4fd5909
commit db971991fb
12 changed files with 105 additions and 62 deletions

View File

@@ -46,9 +46,8 @@ public:
~Workers();
const Hashrate *hashrate() const;
void add(const T &data);
void setBackend(IBackend *backend);
void start();
void start(const std::vector<T> &data);
void stop();
void tick(uint64_t ticks);