Increment m_threads_active when mining thread starts

This commit is contained in:
Doyle 2019-04-15 13:08:33 +10:00
parent 37345921ec
commit 6643b04737

View File

@ -528,6 +528,7 @@ namespace cryptonote
uint32_t local_template_ver = 0; uint32_t local_template_ver = 0;
block b; block b;
slow_hash_allocate_state(); slow_hash_allocate_state();
++m_threads_active;
while(!m_stop) while(!m_stop)
{ {
if(m_pausers_count)//anti split workaround if(m_pausers_count)//anti split workaround