mirror of
https://github.com/GOSTSec/sgminer
synced 2025-08-29 15:22:16 +00:00
enumerate the mining threadnames
This commit is contained in:
parent
271b05ab04
commit
4fbdc1eaa8
@ -5509,7 +5509,9 @@ void *miner_thread(void *userdata)
|
|||||||
|
|
||||||
pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL);
|
pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL);
|
||||||
|
|
||||||
RenameThread("miner");
|
char threadname[20];
|
||||||
|
snprintf(threadname,20,"miner %d",thr_id);
|
||||||
|
RenameThread(threadname);
|
||||||
|
|
||||||
gettimeofday(&getwork_start, NULL);
|
gettimeofday(&getwork_start, NULL);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user