1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-12 01:42:48 -05:00

#40 Fix crash on Linux.

This commit is contained in:
XMRig
2017-07-19 04:28:59 +03:00
parent ebf54c6d04
commit 8f38462bbe
8 changed files with 21 additions and 8 deletions

View File

@@ -34,6 +34,12 @@ Handle::Handle(int threadId, int threads, int64_t affinity) :
}
void Handle::join()
{
uv_thread_join(&m_thread);
}
void Handle::start(void (*callback) (void *))
{
uv_thread_create(&m_thread, callback, this);