diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-04-16 22:45:42 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-04-16 22:45:42 +0200 |
commit | e98cbfbdfeda99d6868e528479a7be92a02b476d (patch) | |
tree | b03d604546d472c3b0ac98e97b66823bc8b8ea56 /src/cryptonote_basic | |
parent | Merge pull request #5443 (diff) | |
parent | Increment m_threads_active when mining thread starts (diff) | |
download | monero-e98cbfbdfeda99d6868e528479a7be92a02b476d.tar.xz |
Merge pull request #5444
6643b047 Increment m_threads_active when mining thread starts (Doyle)
Diffstat (limited to 'src/cryptonote_basic')
-rw-r--r-- | src/cryptonote_basic/miner.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_basic/miner.cpp b/src/cryptonote_basic/miner.cpp index e6c6bddb6..173679e21 100644 --- a/src/cryptonote_basic/miner.cpp +++ b/src/cryptonote_basic/miner.cpp @@ -528,6 +528,7 @@ namespace cryptonote uint32_t local_template_ver = 0; block b; slow_hash_allocate_state(); + ++m_threads_active; while(!m_stop) { if(m_pausers_count)//anti split workaround |