Increment m_threads_active when mining thread starts
This commit is contained in:
parent
37345921ec
commit
6643b04737
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue