Added support for threads restart if config changed.
This commit is contained in:
parent
871bc3e180
commit
f590cf58fb
12 changed files with 105 additions and 62 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue