Merge pull request #5444

6643b047 Increment m_threads_active when mining thread starts (Doyle)
This commit is contained in:
Riccardo Spagni 2019-04-16 22:45:42 +02:00
commit e98cbfbdfe
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

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