1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-30 16:34:23 +00:00

Revert "thread shutdown is different on windows"

This reverts commit 1bb2cadfa6a319ac889d63af519df2ee858807ce.
This commit is contained in:
Noel Maersk 2014-03-29 19:43:41 +02:00
parent 47a98cde9f
commit 0e7fd54c0f

View File

@ -3315,13 +3315,8 @@ static void kill_mining(void)
if (thr && PTH(thr) != 0L)
pth = &thr->pth;
thr_info_cancel(thr);
#ifndef WIN32
if (pth && *pth)
pthread_join(*pth, NULL);
#else
if (pth && pth->p)
pthread_join(*pth, NULL);
#endif
}
}