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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user