1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-08 16:33:32 -05:00

Improved pause/resume mechanism.

This commit is contained in:
XMRig
2017-07-10 21:42:28 +03:00
parent c15aefd968
commit 7c6e429854
6 changed files with 42 additions and 1 deletions

View File

@@ -164,3 +164,9 @@ void Job::toHex(const unsigned char* in, unsigned int len, char* out)
out[i * 2 + 1] = hf_bin2hex(in[i] & 0x0F);
}
}
bool Job::operator==(const Job &other) const
{
return memcmp(m_id, other.m_id, sizeof(m_id)) == 0;
}