Browse Source

Revert "thread shutdown is different on windows"

This reverts commit 1bb2cadfa6.
build-mingw
Noel Maersk 11 years ago
parent
commit
0e7fd54c0f
  1. 5
      sgminer.c

5
sgminer.c

@ -3315,13 +3315,8 @@ static void kill_mining(void) @@ -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
}
}

Loading…
Cancel
Save