diff options
| author | Doyle <doylet@protonmail.com> | 2019-04-15 13:08:33 +1000 |
|---|---|---|
| committer | Doyle <doylet@protonmail.com> | 2019-04-15 13:08:33 +1000 |
| commit | 6643b04737d58a84427e6b8c04f56b0326dc5e00 (patch) | |
| tree | ad32bf83ce00ad57868cb2da2316fdfced652ad4 /src/cryptonote_basic | |
| parent | 37345921ece7280c2fde031e2a1e32bfbac0479c (diff) | |
| download | monzero-core-6643b04737d58a84427e6b8c04f56b0326dc5e00.tar.gz monzero-core-6643b04737d58a84427e6b8c04f56b0326dc5e00.tar.xz monzero-core-6643b04737d58a84427e6b8c04f56b0326dc5e00.zip | |
Increment m_threads_active when mining thread starts
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 |
