mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 12:09:54 +00:00
Increment m_threads_active when mining thread starts
This commit is contained in:
parent
37345921ec
commit
6643b04737
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue