Initial MSVC support.
This commit is contained in:
parent
a370b8fd30
commit
3df545cfc5
21 changed files with 845 additions and 96 deletions
|
@ -35,7 +35,7 @@ Handle::Handle(int threadId, int threads, int64_t affinity, bool nicehash) :
|
|||
}
|
||||
|
||||
|
||||
void Handle::start(void *(*callback) (void *))
|
||||
void Handle::start(void (*callback) (void *))
|
||||
{
|
||||
pthread_create(&m_thread, nullptr, callback, this);
|
||||
uv_thread_create(&m_thread, callback, this);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue